X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Flibs%2Fvirtualrest%2FVirtualRESTServiceClient.php;h=e3b9376f21b2267b2d0215a3bea72182df0d017f;hp=1b7545a8921c36d022e9b8c15cf349b272c4d202;hb=89539f2aa1b158fdcc703ad053e2580cb97a6385;hpb=5335a84c9ef221d03f264834cf136d9dd11a749a diff --git a/includes/libs/virtualrest/VirtualRESTServiceClient.php b/includes/libs/virtualrest/VirtualRESTServiceClient.php index 1b7545a892..e3b9376f21 100644 --- a/includes/libs/virtualrest/VirtualRESTServiceClient.php +++ b/includes/libs/virtualrest/VirtualRESTServiceClient.php @@ -40,7 +40,6 @@ * - stream : resource to stream the HTTP response body to * Request maps can use integer index 0 instead of 'method' and 1 instead of 'url'. * - * @author Aaron Schulz * @since 1.23 */ class VirtualRESTServiceClient { @@ -103,7 +102,7 @@ class VirtualRESTServiceClient { * @return array (prefix,VirtualRESTService) or (null,null) if none found */ public function getMountAndService( $path ) { - $cmpFunc = function( $a, $b ) { + $cmpFunc = function ( $a, $b ) { $al = substr_count( $a, '/' ); $bl = substr_count( $b, '/' ); if ( $al === $bl ) { @@ -207,7 +206,7 @@ class VirtualRESTServiceClient { } // Function to get IDs that won't collide with keys in $armoredIndexMap - $idFunc = function() use ( &$curUniqueId ) { + $idFunc = function () use ( &$curUniqueId ) { return $curUniqueId++; };