build: Updating mediawiki/mediawiki-phan-config to 0.5.0

Change-Id: I1d485d6ffd9a8fe7031ee73b634af25628d75c12
This commit is contained in:
libraryupgrader 2019-03-11 03:29:45 +00:00 committed by Kunal Mehta
parent eca8be4d97
commit 613f6f68d4
2 changed files with 2 additions and 2 deletions

View file

@ -7,7 +7,7 @@
"jakub-onderka/php-console-highlighter": "0.3.2",
"mediawiki/mediawiki-codesniffer": "24.0.0",
"mediawiki/minus-x": "0.3.1",
"mediawiki/mediawiki-phan-config": "0.4.0"
"mediawiki/mediawiki-phan-config": "0.5.0"
},
"scripts": {
"fix": [

View file

@ -24,7 +24,7 @@ class Poem {
* @param PPFrame $frame
* @return string
*/
public static function renderPoem( $in, array $param = [], Parser $parser, PPFrame $frame ) {
public static function renderPoem( $in, array $param, Parser $parser, PPFrame $frame ) {
// using newlines in the text will cause the parser to add <p> tags,
// which may not be desired in some cases
$newline = isset( $param['compact'] ) ? '' : "\n";