@@ -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); |
@@ -27,8 +27,8 @@ |
||
27 | 27 | * @package simplesamlphp/saml2 |
28 | 28 | */ |
29 | 29 | abstract class AbstractBaseID extends AbstractBaseIDType implements |
30 | - EncryptableElementInterface, |
|
31 | - ExtensionPointInterface |
|
30 | + EncryptableElementInterface, |
|
31 | + ExtensionPointInterface |
|
32 | 32 | { |
33 | 33 | use EncryptableElementTrait; |
34 | 34 | use ExtensionPointTrait; |
@@ -221,7 +221,7 @@ discard block |
||
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 |
||
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 |
||
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 | } |
@@ -83,7 +83,7 @@ |
||
83 | 83 | list($element) = $qname; |
84 | 84 | } |
85 | 85 | $ns = $xml->lookupNamespaceUri($prefix); |
86 | - $type = ($ns === null ) ? $element : implode(':', [$ns, $element]); |
|
86 | + $type = ($ns === null) ? $element : implode(':', [$ns, $element]); |
|
87 | 87 | |
88 | 88 | // now check if we have a handler registered for it |
89 | 89 | $handler = Utils::getContainer()->getExtensionHandler($ns, $element); |
@@ -83,7 +83,7 @@ |
||
83 | 83 | list($element) = $qname; |
84 | 84 | } |
85 | 85 | $ns = $xml->lookupNamespaceUri($prefix); |
86 | - $type = ($ns === null ) ? $element : implode(':', [$ns, $element]); |
|
86 | + $type = ($ns === null) ? $element : implode(':', [$ns, $element]); |
|
87 | 87 | |
88 | 88 | // now check if we have a handler registered for it |
89 | 89 | $handler = Utils::getContainer()->getExtensionHandler($ns, $element); |