fix tye check

This commit is contained in:
Tom Witkowski
2020-06-21 18:44:04 +02:00
parent 9a0cfaf339
commit 6e27c6d85d

View File

@ -38,7 +38,7 @@ final class Reflection
method_exists($object, '__call')
|| method_exists($object, '__callStatic')
) {
return call_user_func_array([$object, $method], $args);
return $object->{$method}(...$args);
}
throw $exception;