Skip to content

Commit

Permalink
Update ClassesFinder.php (#226)
Browse files Browse the repository at this point in the history
Sort filenames
  • Loading branch information
rgasch authored Feb 28, 2024
1 parent 7d0db07 commit 8579594
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ClassesFinder.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ public function findAndLoadClasses(): Collection
ob_end_clean();

return collect(get_declared_classes())
->reject(static fn (string $className) => Str::startsWith($className, ['SwooleLibrary']));
->reject(static fn (string $className) => Str::startsWith($className, ['SwooleLibrary']))
->sort();
}

/**
Expand Down

0 comments on commit 8579594

Please sign in to comment.