Skip to content

Commit

Permalink
chore(deps): Bump dependencies
Browse files Browse the repository at this point in the history
chore: add back `->sortByName()` when registering paths
  • Loading branch information
Log1x committed Jul 5, 2022
1 parent 2a4ad4a commit 33e2b75
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 29 deletions.
52 changes: 24 additions & 28 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/AcfComposer.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public function registerPath($path, $namespace = null)
$namespace = $this->app->getNamespace();
}

foreach ((new Finder())->in($paths->toArray())->files() as $file) {
foreach ((new Finder())->in($paths->toArray())->files()->sortByName() as $file) {
$relativePath = Str::remove(
$this->app->path() . DIRECTORY_SEPARATOR,
$file->getPathname()
Expand Down

0 comments on commit 33e2b75

Please sign in to comment.