mirror of
https://github.com/pestphp/pest.git
synced 2026-03-12 10:47:25 +01:00
fix tye check
This commit is contained in:
@ -38,7 +38,7 @@ final class Reflection
|
|||||||
method_exists($object, '__call')
|
method_exists($object, '__call')
|
||||||
|| method_exists($object, '__callStatic')
|
|| method_exists($object, '__callStatic')
|
||||||
) {
|
) {
|
||||||
return call_user_func_array([$object, $method], $args);
|
return $object->{$method}(...$args);
|
||||||
}
|
}
|
||||||
|
|
||||||
throw $exception;
|
throw $exception;
|
||||||
|
|||||||
Reference in New Issue
Block a user