@@ -89,8 +89,7 @@ |
||
| 89 | 89 | $templateFile = NULL, |
| 90 | 90 | FlashMessages\SessionStorage $sessionStorage, |
| 91 | 91 | Nette\ComponentModel\IContainer $parent = NULL, $name = NULL |
| 92 | - ) |
|
| 93 | - { |
|
| 92 | + ) { |
|
| 94 | 93 | // TODO: remove, only for tests |
| 95 | 94 | parent::__construct(NULL, NULL); |
| 96 | 95 | |
@@ -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) { |