@@ -284,8 +284,8 @@ |
||
| 284 | 284 | */ |
| 285 | 285 | private function checkForAttribute(array $attributes, string $type, $default) |
| 286 | 286 | { |
| 287 | - foreach($attributes as $attribute) { |
|
| 288 | - switch($type) |
|
| 287 | + foreach ($attributes as $attribute) { |
|
| 288 | + switch ($type) |
|
| 289 | 289 | { |
| 290 | 290 | case 'title': |
| 291 | 291 | if (is_string($attribute) === TRUE || $attribute instanceof Translation\Phrase || $attribute instanceof Adapters\IPhraseAdapter) { |