fix: php8 unknown named parameter
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
],
|
||||
"repositories" : [
|
||||
{
|
||||
"type" : "vcs",
|
||||
"type" : "vcs",
|
||||
"url" : "https://usrpath@bitbucket.org/usrpath/bsrutils.git"
|
||||
}
|
||||
],
|
||||
@@ -27,7 +27,6 @@
|
||||
},
|
||||
"require-dev": {
|
||||
"bsr/utils" : "dev-master",
|
||||
"pds/skeleton": "^1.0",
|
||||
"phpunit/phpunit": "^6"
|
||||
"phpunit/phpunit": "^8"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -117,7 +117,7 @@ abstract class WebService
|
||||
'func' => $this->func.'('.implode(', ', $params).')',
|
||||
));
|
||||
|
||||
return call_user_func_array(array($this, $this->func), $params);
|
||||
return call_user_func_array(array($this, $this->func), array_values($params));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user