From 3672fbe6eb71092733330dfc60011e09270812c2 Mon Sep 17 00:00:00 2001 From: Nathan Purcell Date: Fri, 31 May 2024 17:29:37 +0100 Subject: [PATCH] Update OptimizeClearCommand.php (#51667) Added "s" for consistency with "optimize" command. --- src/Illuminate/Foundation/Console/OptimizeClearCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Foundation/Console/OptimizeClearCommand.php b/src/Illuminate/Foundation/Console/OptimizeClearCommand.php index c75ab3a95902..02c9d5ab6cf5 100644 --- a/src/Illuminate/Foundation/Console/OptimizeClearCommand.php +++ b/src/Illuminate/Foundation/Console/OptimizeClearCommand.php @@ -36,7 +36,7 @@ public function handle() 'compiled' => fn () => $this->callSilent('clear-compiled') == 0, 'config' => fn () => $this->callSilent('config:clear') == 0, 'events' => fn () => $this->callSilent('event:clear') == 0, - 'route' => fn () => $this->callSilent('route:clear') == 0, + 'routes' => fn () => $this->callSilent('route:clear') == 0, 'views' => fn () => $this->callSilent('view:clear') == 0, ])->each(fn ($task, $description) => $this->components->task($description, $task));