Passed
Pull Request — master (#305)
by Jaime Pérez
03:35 queued 01:06
created
src/SAML2/XML/saml/AbstractBaseID.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -28,9 +28,9 @@
 block discarded – undo
28 28
  * @package simplesamlphp/saml2
29 29
  */
30 30
 abstract class AbstractBaseID extends AbstractSamlElement implements
31
-     BaseIdentifierInterface,
32
-     EncryptableElementInterface,
33
-     ExtensionPointInterface
31
+        BaseIdentifierInterface,
32
+        EncryptableElementInterface,
33
+        ExtensionPointInterface
34 34
 {
35 35
     use EncryptableElementTrait;
36 36
     use ExtensionPointTrait;
Please login to merge, or discard this 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/saml/Assertion.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -221,7 +221,7 @@  discard block
 block discarded – undo
221 221
      */
222 222
     public function getAttributeStatements(): array
223 223
     {
224
-        return array_values(array_filter($this->statements, function ($statement) {
224
+        return array_values(array_filter($this->statements, function($statement) {
225 225
             return $statement instanceof AttributeStatement;
226 226
         }));
227 227
     }
@@ -232,7 +232,7 @@  discard block
 block discarded – undo
232 232
      */
233 233
     public function getAuthnStatements(): array
234 234
     {
235
-        return array_values(array_filter($this->statements, function ($statement) {
235
+        return array_values(array_filter($this->statements, function($statement) {
236 236
             return $statement instanceof AuthnStatement;
237 237
         }));
238 238
     }
@@ -243,7 +243,7 @@  discard block
 block discarded – undo
243 243
      */
244 244
     public function getStatements(): array
245 245
     {
246
-        return array_values(array_filter($this->statements, function ($statement) {
246
+        return array_values(array_filter($this->statements, function($statement) {
247 247
             return $statement instanceof AbstractStatement;
248 248
         }));
249 249
     }
Please login to merge, or discard this patch.