@@ -16,7 +16,7 @@ discard block |
||
16 | 16 | } |
17 | 17 | |
18 | 18 | $bootstrap = $bootstrap ?? 'app/bootstrap.php'; |
19 | -$bootstrapPath = $basePath . '/' . $bootstrap; |
|
19 | +$bootstrapPath = $basePath.'/'.$bootstrap; |
|
20 | 20 | |
21 | 21 | $translationDirsToCheck = []; |
22 | 22 | if (file_exists($bootstrapPath)) { |
@@ -25,8 +25,8 @@ discard block |
||
25 | 25 | $translationDirsToCheck = $containerParameters['translation']['dirs'] ?? []; |
26 | 26 | } |
27 | 27 | |
28 | -$translationDirsToCheck[] = $basePath . '/lang'; |
|
29 | -$translationDirsToCheck[] = $basePath . '/app/lang'; |
|
28 | +$translationDirsToCheck[] = $basePath.'/lang'; |
|
29 | +$translationDirsToCheck[] = $basePath.'/app/lang'; |
|
30 | 30 | |
31 | 31 | $translationDirs = []; |
32 | 32 | foreach ($translationDirsToCheck as $translationDirToCheck) { |
@@ -46,13 +46,13 @@ discard block |
||
46 | 46 | } |
47 | 47 | $dictionaries = []; |
48 | 48 | foreach ($files as $file) { |
49 | - $filePath = (string)$file; |
|
49 | + $filePath = (string) $file; |
|
50 | 50 | $info = pathinfo($filePath); |
51 | 51 | list($prefix, $lang,) = explode('.', $info['basename'], 3); |
52 | 52 | if (isset($languages) && !in_array($lang, $languages)) { |
53 | 53 | continue; |
54 | 54 | } |
55 | - $storage = new NeonFileStorage($filePath, $prefix . '.', ' '); |
|
55 | + $storage = new NeonFileStorage($filePath, $prefix.'.', ' '); |
|
56 | 56 | $dictionaries[$lang] = array_merge($dictionaries[$lang] ?? [], $storage->load()); |
57 | 57 | } |
58 | 58 |