X-Git-Url: https://git.cyclocoop.org/%28%28?a=blobdiff_plain;f=includes%2FTitleArray.php;h=5a28b85035704231426b8df506412cae259949d6;hb=507024c9d08b4547708f231934be2901bf450a42;hp=0fb5b1e96ba06f428f866cbecedc23228a1f0d5b;hpb=5d318d830323cc69b046b75fafaaa19b78034e9d;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 ) {