8000 [FrameworkBundle] fix describing routes with no controllers · symfony/symfony@a1c612a · GitHub
[go: up one dir, main page]

Skip to content

Commit a1c612a

Browse files
[FrameworkBundle] fix describing routes with no controllers
1 parent 68b823f commit a1c612a

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
@@ -56,7 +56,7 @@ protected function describeRouteCollection(RouteCollection $routes, array $optio
5656

5757
if ($showControllers) {
5858
$controller = $route->getDefault('_controller');
59-
$row[] = $this->formatCallable($controller);
59+
$row[] = $controller ? $this->formatCallable($controller) : '';
6060
}
6161

6262
$tableRows[] = $row;

0 commit comments

Comments
 (0)
0