@@ -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); |