Somewhere, trait or base class, or TypedArray itself:
Must be rewritten but something like this maybe:
public function _call($func, $argv)
{
if (!is_callable($func) || substr($func, 0, 6) !== 'array')
{
throw new \BadMethodCallException(CLASS.'->'.$func);
}
return call_user_func_array($func, array_merge(array($this->getArrayCopy()), $argv));
}
https://3v4l.org/FPKJP
Somewhere, trait or base class, or TypedArray itself:
Must be rewritten but something like this maybe:
public function _call($func, $argv)
{
if (!is_callable($func) || substr($func, 0, 6) !== 'array')
{
throw new \BadMethodCallException(CLASS.'->'.$func);
}
return call_user_func_array($func, array_merge(array($this->getArrayCopy()), $argv));
}
https://3v4l.org/FPKJP