@@ -205,7 +205,7 @@ |
||
| 205 | 205 | } |
| 206 | 206 | |
| 207 | 207 | /** |
| 208 | - * @param Message[]|Collection $messages |
|
| 208 | + * @param Collection $messages |
|
| 209 | 209 | */ |
| 210 | 210 | public function setMessages(Collection $messages = null) |
| 211 | 211 | { |
@@ -133,7 +133,7 @@ |
||
| 133 | 133 | * |
| 134 | 134 | * @param string $domain |
| 135 | 135 | * @param string $path |
| 136 | - * @param array $directories |
|
| 136 | + * @param string[] $directories |
|
| 137 | 137 | * |
| 138 | 138 | * @return array |
| 139 | 139 | */ |
@@ -224,8 +224,7 @@ |
||
| 224 | 224 | foreach($array as $key=>$value) { |
| 225 | 225 | if(is_array($value)) { |
| 226 | 226 | $result = $result + $this->flatten($value, $prefix . $key . '.'); |
| 227 | - } |
|
| 228 | - else { |
|
| 227 | + } else { |
|
| 229 | 228 | $result[$prefix . $key] = $value; |
| 230 | 229 | } |
| 231 | 230 | } |
@@ -48,7 +48,6 @@ |
||
| 48 | 48 | private $parser; |
| 49 | 49 | |
| 50 | 50 | /** |
| 51 | - * @param ParameterBag $loadersContainer |
|
| 52 | 51 | * @param TranslationManager $translationManager |
| 53 | 52 | * @param YmlExport $exporter |
| 54 | 53 | */ |
@@ -224,8 +224,7 @@ |
||
| 224 | 224 | foreach($array as $key=>$value) { |
| 225 | 225 | if(is_array($value)) { |
| 226 | 226 | $result = $result + $this->flatten($value, $prefix . $key . '.'); |
| 227 | - } |
|
| 228 | - else { |
|
| 227 | + } else { |
|
| 229 | 228 | $result[$prefix . $key] = $value; |
| 230 | 229 | } |
| 231 | 230 | } |