mirror of
https://github.com/pestphp/pest.git
synced 2026-03-07 00:07:22 +01:00
fix tye check
This commit is contained in:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user