@@ -28,9 +28,9 @@ |
||
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; |
@@ -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); |
@@ -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 | } |