diff --git a/src/Symfony/Bundle/FrameworkBundle/Console/Descriptor/TextDescriptor.php b/src/Symfony/Bundle/FrameworkBundle/Console/Descriptor/TextDescriptor.php index 9846a9a90fec..d91743e5c0da 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Console/Descriptor/TextDescriptor.php +++ b/src/Symfony/Bundle/FrameworkBundle/Console/Descriptor/TextDescriptor.php @@ -56,7 +56,7 @@ protected function describeRouteCollection(RouteCollection $routes, array $optio if ($showControllers) { $controller = $route->getDefault('_controller'); - $row[] = $this->formatCallable($controller); + $row[] = $controller ? $this->formatCallable($controller) : ''; } $tableRows[] = $row;