You've already forked redmine-bundle
use call_user_func_array
This commit is contained in:
@@ -27,7 +27,7 @@ final class RedmineClient
|
|||||||
$item->tag([$api, $method]);
|
$item->tag([$api, $method]);
|
||||||
|
|
||||||
$client = $this->getClient()->getApi($api);
|
$client = $this->getClient()->getApi($api);
|
||||||
$value = \call_user_method_array($method, $client, $arguments);
|
$value = \call_user_func_array([$client, $method], $arguments);
|
||||||
|
|
||||||
return $value;
|
return $value;
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user