Skip to content

Commit 3cd0312

Browse files
authored
Merge pull request #134 from getherbie/2.x-develop-sorted-data
fix: data files sorted by name
2 parents 045f7cc + 6662c87 commit 3cd0312

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/YamlDataRepository.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public function loadAll(): array
6969
protected function getFinder(): Finder
7070
{
7171
$patterns = $this->getPatterns();
72-
return (new Finder())->files()->name($patterns)->in($this->path);
72+
return (new Finder())->files()->name($patterns)->in($this->path)->sortByName();
7373
}
7474

7575
protected function getPatterns(): array

0 commit comments

Comments
 (0)