@@ -17,7 +17,7 @@ |
||
17 | 17 | * @param ReflectionClass $reflectionClass |
18 | 18 | * @param Service|CompilerPassAnnotation $annotation |
19 | 19 | * @param Definition $definition |
20 | - * @return array |
|
20 | + * @return Definition[] |
|
21 | 21 | * |
22 | 22 | * @throws Exception |
23 | 23 | */ |
@@ -23,8 +23,8 @@ |
||
23 | 23 | /** @var Glob $glob */ |
24 | 24 | $glob = $container->get(Glob::class); |
25 | 25 | |
26 | - $locales = $glob->execGlob(ROOT . 'lang/*.po'); |
|
27 | - $locales = array_map(function ($file) { |
|
26 | + $locales = $glob->execGlob(ROOT.'lang/*.po'); |
|
27 | + $locales = array_map(function($file) { |
|
28 | 28 | return basename($file, '.po'); |
29 | 29 | }, $locales); |
30 | 30 |