@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | * |
54 | 54 | * @return FileBundleEncoder |
55 | 55 | */ |
56 | - protected function loadDescriptions(?iterable $messageDescriptions): self |
|
56 | + protected function loadDescriptions(?iterable $messageDescriptions) : self |
|
57 | 57 | { |
58 | 58 | if ($messageDescriptions !== null) { |
59 | 59 | foreach ($messageDescriptions as list($locale, $namespace, $messageStorage)) { |
@@ -88,10 +88,10 @@ discard block |
||
88 | 88 | |
89 | 89 | foreach (scandir($localesDir) as $fileOrDir) { |
90 | 90 | if ($fileOrDir !== '.' && $fileOrDir !== '..' && |
91 | - is_dir($localeDirFullPath = $localesDir . DIRECTORY_SEPARATOR . $fileOrDir . DIRECTORY_SEPARATOR) |
|
91 | + is_dir($localeDirFullPath = $localesDir.DIRECTORY_SEPARATOR.$fileOrDir.DIRECTORY_SEPARATOR) |
|
92 | 92 | ) { |
93 | 93 | $localeDir = $fileOrDir; |
94 | - foreach (glob($localeDirFullPath . $this->getGlobMessagePatterns()) as $messageFile) { |
|
94 | + foreach (glob($localeDirFullPath.$this->getGlobMessagePatterns()) as $messageFile) { |
|
95 | 95 | $namespace = pathinfo($messageFile, PATHINFO_FILENAME); |
96 | 96 | $bundle = $this->loadBundleFromFile($messageFile, $localeDir, $namespace); |
97 | 97 | $this->addBundle($bundle); |