@@ -25,7 +25,7 @@ |
||
| 25 | 25 | } |
| 26 | 26 | |
| 27 | 27 | /** |
| 28 | - * @param array $messageCatalogues |
|
| 28 | + * @param MessageCatalogue[] $messageCatalogues |
|
| 29 | 29 | * @param string $format |
| 30 | 30 | * @param null|string $path |
| 31 | 31 | */ |
@@ -52,7 +52,7 @@ |
||
| 52 | 52 | if (!$this->filesystem->exists($path)) { |
| 53 | 53 | throw new \RuntimeException(sprintf('Path %s does not exist', $path)); |
| 54 | 54 | } |
| 55 | - $files = $this->finder->files()->name('/[a-z]+\.[a-z]{2}\.'.$format.'/')->in($path); |
|
| 55 | + $files = $this->finder->files()->name('/[a-z]+\.[a-z]{2}\.' . $format . '/')->in($path); |
|
| 56 | 56 | |
| 57 | 57 | /** @var SplFileInfo $file */ |
| 58 | 58 | foreach ($files as $file) { |