dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Rename autonym for 'no' from 'norsk bokmål' to 'norsk'"
[lhc/web/wiklou.git]
/
includes
/
libs
/
virtualrest
/
VirtualRESTServiceClient.php
diff --git
a/includes/libs/virtualrest/VirtualRESTServiceClient.php
b/includes/libs/virtualrest/VirtualRESTServiceClient.php
index
1b7545a
..
e3b9376
100644
(file)
--- 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'.
*
* - 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 {
* @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 ) {
* @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 ) {
$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
}
// Function to get IDs that won't collide with keys in $armoredIndexMap
- $idFunc = function() use ( &$curUniqueId ) {
+ $idFunc = function
() use ( &$curUniqueId ) {
return $curUniqueId++;
};
return $curUniqueId++;
};