X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2FWebRequestTest.php;h=12d7d2a39afb54bf2961c57ca897db507c793647;hb=0a9ee5d9bf0047ec65c29ee35321d96191ecbff5;hp=7b12a4af69f682b29034546dd3edf6c51ba2f165;hpb=ae1a63e86233ed0b6a547f7a1d11af42cac987cb;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/WebRequestTest.php b/tests/phpunit/includes/WebRequestTest.php index 7b12a4af69..12d7d2a39a 100644 --- a/tests/phpunit/includes/WebRequestTest.php +++ b/tests/phpunit/includes/WebRequestTest.php @@ -115,7 +115,7 @@ class WebRequestTest extends MediaWikiTestCase { 'wgUsePrivateIPs' => $private, 'wgHooks' => array( 'IsTrustedProxy' => array( - function( &$ip, &$trusted ) use ( $xffList ) { + function ( &$ip, &$trusted ) use ( $xffList ) { $trusted = $trusted || in_array( $ip, $xffList ); return true; }