Loading core/lib/Drupal/Component/Utility/ArgumentsResolver.php +1 −1 Original line number Diff line number Diff line Loading @@ -123,7 +123,7 @@ protected function getReflector(callable $callable) { return new \ReflectionMethod($callable[0], $callable[1]); } if (is_string($callable) && str_contains($callable, "::")) { return new \ReflectionMethod($callable); return \ReflectionMethod::createFromMethodName($callable); } return new \ReflectionFunction($callable); } Loading Loading
core/lib/Drupal/Component/Utility/ArgumentsResolver.php +1 −1 Original line number Diff line number Diff line Loading @@ -123,7 +123,7 @@ protected function getReflector(callable $callable) { return new \ReflectionMethod($callable[0], $callable[1]); } if (is_string($callable) && str_contains($callable, "::")) { return new \ReflectionMethod($callable); return \ReflectionMethod::createFromMethodName($callable); } return new \ReflectionFunction($callable); } Loading