Skip to content

Commit 955f9f1

Browse files
[FrameworkBundle] fix describing routes with no controllers
1 parent 1c1f86b commit 955f9f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)