Skip to content

Commit 83de990

Browse files
Merge branch '5.2' into 5.x
* 5.2: [FrameworkBundle] Fix array controller link in debug:router
2 parents 6056808 + af65296 commit 83de990

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Console/Descriptor/TextDescriptor.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -562,6 +562,10 @@ private function formatControllerLink($controller, string $anchorText, callable
562562
$r = new \ReflectionFunction($controller);
563563
}
564564
} catch (\ReflectionException $e) {
565+
if (\is_array($controller)) {
566+
$controller = implode('::', $controller);
567+
}
568+
565569
$id = $controller;
566570
$method = '__invoke';
567571

0 commit comments

Comments
 (0)