Skip to content

Commit 3931c5d

Browse files
kalessilfabpot
authored andcommitted
SCA: minor code tweaks
1 parent f6ebf85 commit 3931c5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Data/Util/LocaleScanner.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class LocaleScanner
4242
*/
4343
public function scanLocales($sourceDir)
4444
{
45-
$locales = glob($sourceDir.'/*.txt');
45+
$locales = glob($sourceDir.'/*.txt', GLOB_NOSORT);
4646

4747
// Remove file extension and sort
4848
array_walk($locales, function (&$locale) { $locale = basename($locale, '.txt'); });

0 commit comments

Comments
 (0)