Skip to content

Commit

Permalink
fixed bug in repository loader
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamadtsn committed Dec 19, 2022
1 parent a079260 commit fd5c97c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/RepositoryServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ private function getAllClassRepositories(): Collection
$repositories = collect();
if (File::isDirectory($repository_path)) {
$repositories = collect(File::files($repository_path))
->skip(2)
->map(fn(SplFileInfo $repository) => ('App\\Repositories\\' . str($repository->getBasename())->remove('.php')));
}

Expand Down

0 comments on commit fd5c97c

Please sign in to comment.