@@ -296,7 +296,7 @@ |
||
296 | 296 | } |
297 | 297 | |
298 | 298 | /** |
299 | - * @return array |
|
299 | + * @return string[] |
|
300 | 300 | */ |
301 | 301 | public function __sleep() |
302 | 302 | { |
@@ -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) { |