1
0
Fork 0

Merge pull request #9183 from derrabus/bugfix/numeric-user-func-array

Call call_user_func_array() with a numeric arguments array
pull/9185/head
Jordi Boggiano 2020-09-04 12:17:43 +02:00 committed by GitHub
commit 960413da3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ class ClassLoader
public function getPrefixes()
{
if (!empty($this->prefixesPsr0)) {
return call_user_func_array('array_merge', $this->prefixesPsr0);
return call_user_func_array('array_merge', array_values($this->prefixesPsr0));
}
return array();