@@ -54,7 +54,7 @@ |
||
| 54 | 54 | |
| 55 | 55 | public function addXml(\SimpleXMLElement $xml) |
| 56 | 56 | { |
| 57 | - $lang = (string)$xml->attributes('http://www.w3.org/XML/1998/namespace')->{'lang'}; |
|
| 57 | + $lang = (string) $xml->attributes('http://www.w3.org/XML/1998/namespace')->{'lang'}; |
|
| 58 | 58 | if (empty($lang) || $this->getLanguage() === $lang || explode('-', $this->getLanguage())[0] === $lang) { |
| 59 | 59 | $this->parseXml($xml); |
| 60 | 60 | } |