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