Skip to content

Commit 43a6a41

Browse files
[Config] Fix associative sorting in FileLoader
1 parent 26851af commit 43a6a41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Loader/FileLoader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ function (\SplFileInfo $file) { return '.' !== $file->getBasename()[0]; }
136136
),
137137
\RecursiveIteratorIterator::LEAVES_ONLY
138138
));
139-
usort($files, function (\SplFileInfo $a, \SplFileInfo $b) {
139+
uasort($files, function (\SplFileInfo $a, \SplFileInfo $b) {
140140
return (string) $a > (string) $b ? 1 : -1;
141141
});
142142

0 commit comments

Comments
 (0)