Skip to content

Commit

Permalink
Fix code styling
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell authored and github-actions[bot] committed May 4, 2023
1 parent 50e3a73 commit daebc30
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Drivers/Decorator.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,10 @@ public function discover($namespace = 'App\\Features', $path = null)
$namespace = Str::finish($namespace, '\\');

Collection::make((new Finder)
->files()
->name('*.php')
->depth(0)
->in($path ?? base_path('app/Features')))
->files()
->name('*.php')
->depth(0)
->in($path ?? base_path('app/Features')))
->each(fn ($file) => $this->define("{$namespace}{$file->getBasename('.php')}"));
}

Expand Down

0 comments on commit daebc30

Please sign in to comment.