Skip to content

Commit

Permalink
[FrameworkBundle] Fix PHP 8.4 deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandre-daubois committed Mar 7, 2024
1 parent 2ed7af7 commit bb08386
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ private function formatControllerLink($controller, string $anchorText, ?callable
} elseif (!\is_string($controller)) {
return $anchorText;
} elseif (str_contains($controller, '::')) {
$r = new \ReflectionMethod($controller);
$r = new \ReflectionMethod(...explode('::', $controller));
} else {
$r = new \ReflectionFunction($controller);
}
Expand Down

0 comments on commit bb08386

Please sign in to comment.