Skip to content

Commit 8746765

Browse files
[FrameworkBundle] Fix PHP 8.4 deprecation
1 parent 2ed7af7 commit 8746765

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bundle/FrameworkBundle/Console/Descriptor/TextDescriptor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ private function formatControllerLink($controller, string $anchorText, ?callable
559559
} elseif (!\is_string($controller)) {
560560
return $anchorText;
561561
} elseif (str_contains($controller, '::')) {
562-
$r = new \ReflectionMethod($controller);
562+
$r = new \ReflectionMethod(...explode('::', $controller, 2));
563563
} else {
564564
$r = new \ReflectionFunction($controller);
565565
}

0 commit comments

Comments
 (0)