Skip to content

Commit

Permalink
Update RouteListCommand.php
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell authored Jan 9, 2025
1 parent 813c408 commit b79b846
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Foundation/Console/RouteListCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ protected function isFrameworkController(Route $route)
protected function filterRoute(array $route)
{
if (($this->option('name') && ! Str::contains((string) $route['name'], $this->option('name'))) ||
($this->option('action') && ! Str::contains($route['action'], $this->option('action'))) ||
($this->option('action') && isset($route['action']) && is_string($route['action']) && ! Str::contains($route['action'], $this->option('action'))) ||
($this->option('path') && ! Str::contains($route['uri'], $this->option('path'))) ||
($this->option('method') && ! Str::contains($route['method'], strtoupper($this->option('method')))) ||
($this->option('domain') && ! Str::contains((string) $route['domain'], $this->option('domain'))) ||
Expand Down

0 comments on commit b79b846

Please sign in to comment.