| @@ -116,7 +116,7 @@ | ||
| 116 | 116 | } | 
| 117 | 117 | |
| 118 | 118 | /** | 
| 119 | - * @param array $routes | |
| 119 | + * @param Route[] $routes | |
| 120 | 120 | * @return array | 
| 121 | 121 | */ | 
| 122 | 122 | protected function getResources(array $routes) : array | 
| @@ -22,8 +22,8 @@ | ||
| 22 | 22 | /** @var Glob $glob */ | 
| 23 | 23 |          $glob = $container->get('Glob'); | 
| 24 | 24 | |
| 25 | - $locales = $glob->execGlob(ROOT . 'lang/*.po'); | |
| 26 | -        $locales = array_map(function ($file) { | |
| 25 | + $locales = $glob->execGlob(ROOT.'lang/*.po'); | |
| 26 | +        $locales = array_map(function($file) { | |
| 27 | 27 | return basename($file, '.po'); | 
| 28 | 28 | }, $locales); | 
| 29 | 29 | |