fix: php8 unknown named parameter

master
Guillermo Pages 4 years ago
parent e6ea6a5add
commit 81af47f183

@ -12,7 +12,7 @@
], ],
"repositories" : [ "repositories" : [
{ {
"type" : "vcs", "type" : "vcs",
"url" : "https://usrpath@bitbucket.org/usrpath/bsrutils.git" "url" : "https://usrpath@bitbucket.org/usrpath/bsrutils.git"
} }
], ],
@ -27,7 +27,6 @@
}, },
"require-dev": { "require-dev": {
"bsr/utils" : "dev-master", "bsr/utils" : "dev-master",
"pds/skeleton": "^1.0", "phpunit/phpunit": "^8"
"phpunit/phpunit": "^6"
} }
} }

@ -117,7 +117,7 @@ abstract class WebService
'func' => $this->func.'('.implode(', ', $params).')', '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));
} }
/** /**

Loading…
Cancel
Save