Passed
Pull Request — master (#306)
by Tim
02:10
created
src/SAML2/XML/md/AbstractRoleDescriptor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
src/SAML2/XML/md/AbstractSignedMdElement.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.