1
0
Fork 0

Call call_user_func_array() with a numeric arguments array.

pull/9183/head
Alexander M. Turek 2020-09-03 23:26:09 +02:00
parent 3e56ec2881
commit fc961dce70
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ class ClassLoader
public function getPrefixes() public function getPrefixes()
{ {
if (!empty($this->prefixesPsr0)) { 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(); return array();