From d13803151750232417c5ad2e749dd440e6f3cfce Mon Sep 17 00:00:00 2001 From: Quynh Xuan Nguyen Date: Thu, 9 May 2019 19:49:32 +0700 Subject: [PATCH] Define router property of route:list command --- src/Illuminate/Foundation/Console/RouteListCommand.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Illuminate/Foundation/Console/RouteListCommand.php b/src/Illuminate/Foundation/Console/RouteListCommand.php index baf0e2ab4223..e3d7ffd3e9c9 100644 --- a/src/Illuminate/Foundation/Console/RouteListCommand.php +++ b/src/Illuminate/Foundation/Console/RouteListCommand.php @@ -27,11 +27,11 @@ class RouteListCommand extends Command protected $description = 'List all registered routes'; /** - * An array of all the registered routes. + * The router instance. * - * @var \Illuminate\Routing\RouteCollection + * @var \Illuminate\Routing\Router */ - protected $routes; + protected $router; /** * The table headers for the command.