Merge "Http::getProxy() method to get proxy configuration"
[lhc/web/wiklou.git] / includes / TitleArray.php
index 0fb5b1e..5a28b85 100644 (file)
@@ -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 ) {