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));