diff --git a/tests/methods/ParseTest.php b/tests/methods/ParseTest.php index 44ba81d..eae4bec 100644 --- a/tests/methods/ParseTest.php +++ b/tests/methods/ParseTest.php @@ -326,7 +326,7 @@ class ParseTest extends TestCase { * @return mixed Method return. */ private function invokeMethod($object, $methodName, $parameters = []) { - $reflection = new ReflectionClass($object::class); + $reflection = new ReflectionClass(get_class($object)); $method = $reflection->getMethod($methodName); $method->setAccessible(true);