X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2FTitleArray.php;h=5a28b85035704231426b8df506412cae259949d6;hb=3c9b4b1eb13e072f2216facc424e400d3bfdde1b;hp=0fb5b1e96ba06f428f866cbecedc23228a1f0d5b;hpb=8b1a78fa5e62923d6dea1f9fe578c46b2910155e;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/TitleArray.php b/includes/TitleArray.php index 0fb5b1e96b..5a28b85035 100644 --- a/includes/TitleArray.php +++ b/includes/TitleArray.php @@ -37,7 +37,7 @@ abstract class TitleArray implements Iterator { */ static function newFromResult( $res ) { $array = null; - if ( !Hooks::run( 'TitleArrayFromResult', array( &$array, $res ) ) ) { + if ( !Hooks::run( 'TitleArrayFromResult', [ &$array, $res ] ) ) { return null; } if ( $array === null ) {