Passed
Pull Request — master (#52)
by Jonathon
02:30
created
src/Seboettg/CiteProc/Locale/Locale.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
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
         }
Please login to merge, or discard this patch.