@@ -16,7 +16,6 @@ |
||
16 | 16 | |
17 | 17 | use Nette; |
18 | 18 | use Nette\Localization; |
19 | - |
|
20 | 19 | use IPub; |
21 | 20 | use IPub\FlashMessages\Adapters; |
22 | 21 | use IPub\FlashMessages\Exceptions; |
@@ -229,8 +229,8 @@ |
||
229 | 229 | */ |
230 | 230 | private function checkForAttribute(array $attributes, $type) |
231 | 231 | { |
232 | - foreach($attributes as $attribute) { |
|
233 | - switch($type) |
|
232 | + foreach ($attributes as $attribute) { |
|
233 | + switch ($type) |
|
234 | 234 | { |
235 | 235 | case 'title': |
236 | 236 | if (is_string($attribute) === TRUE || $attribute instanceof Translation\Phrase || $attribute instanceof Adapters\IPhraseAdapter) { |