X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2FWebRequestTest.php;h=12d7d2a39afb54bf2961c57ca897db507c793647;hb=240a73564c6f8528a35ed100b84088d7afe1bafe;hp=7b12a4af69f682b29034546dd3edf6c51ba2f165;hpb=3726a72f33bb95b6c3cfef512fa019cc4709dab3;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; }