diff --git a/src/Support/Reflection.php b/src/Support/Reflection.php index 8b8e73ae..44805ba2 100644 --- a/src/Support/Reflection.php +++ b/src/Support/Reflection.php @@ -34,11 +34,8 @@ final class Reflection return $reflectionMethod->invoke($object, ...$args); } catch (ReflectionException $exception) { - if ( - method_exists($object, '__call') - || method_exists($object, '__callStatic') - ) { - return $object->{$method}(...$args); + if (method_exists($object, '__call')) { + return $object->__call($method, $args); } throw $exception;