fix: php8 unknown named parameter
This commit is contained in:
@@ -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));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user