@@ -115,7 +115,7 @@ |
||
115 | 115 | list($element) = $qname; |
116 | 116 | } |
117 | 117 | $ns = $xml->lookupNamespaceUri($prefix); |
118 | - $type = ($ns === null ) ? $element : implode(':', [$ns, $element]); |
|
118 | + $type = ($ns === null) ? $element : implode(':', [$ns, $element]); |
|
119 | 119 | |
120 | 120 | // now check if we have a handler registered for it |
121 | 121 | $handler = Utils::getContainer()->getExtensionHandler($type); |
@@ -84,7 +84,7 @@ |
||
84 | 84 | $e = $this->toUnsignedXML($parent); |
85 | 85 | if (method_exists(static::class, 'getXsiTypePrefix')) { |
86 | 86 | $e->setAttributeNS( |
87 | - 'http://www.w3.org/2000/xmlns/','xmlns:' . static::getXsiTypePrefix(), static::getXsiTypeNamespaceURI() |
|
87 | + 'http://www.w3.org/2000/xmlns/', 'xmlns:' . static::getXsiTypePrefix(), static::getXsiTypeNamespaceURI() |
|
88 | 88 | ); |
89 | 89 | } |
90 | 90 |