@@ -91,7 +91,7 @@ discard block |
||
| 91 | 91 | Assert::maxCount($statements, C::UNBOUNDED_LIMIT); |
| 92 | 92 | Assert::allIsInstanceOf($statements, AbstractStatementType::class); |
| 93 | 93 | |
| 94 | - $authnStatements = array_values(array_filter($statements, function ($statement) { |
|
| 94 | + $authnStatements = array_values(array_filter($statements, function($statement) { |
|
| 95 | 95 | return $statement instanceof AuthnStatement; |
| 96 | 96 | })); |
| 97 | 97 | |
@@ -103,7 +103,7 @@ discard block |
||
| 103 | 103 | ); |
| 104 | 104 | } |
| 105 | 105 | |
| 106 | - $authzDecisionStatements = array_values(array_filter($statements, function ($statement) { |
|
| 106 | + $authzDecisionStatements = array_values(array_filter($statements, function($statement) { |
|
| 107 | 107 | return $statement instanceof AuthzDecisionStatement; |
| 108 | 108 | })); |
| 109 | 109 | |
@@ -115,7 +115,7 @@ discard block |
||
| 115 | 115 | ); |
| 116 | 116 | } |
| 117 | 117 | |
| 118 | - $attributeStatements = array_values(array_filter($statements, function ($statement) { |
|
| 118 | + $attributeStatements = array_values(array_filter($statements, function($statement) { |
|
| 119 | 119 | return $statement instanceof AttributeStatement; |
| 120 | 120 | })); |
| 121 | 121 | |
@@ -156,7 +156,7 @@ discard block |
||
| 156 | 156 | */ |
| 157 | 157 | public function getAttributeStatements(): array |
| 158 | 158 | { |
| 159 | - return array_values(array_filter($this->statements, function ($statement) { |
|
| 159 | + return array_values(array_filter($this->statements, function($statement) { |
|
| 160 | 160 | return $statement instanceof AttributeStatement; |
| 161 | 161 | })); |
| 162 | 162 | } |
@@ -167,7 +167,7 @@ discard block |
||
| 167 | 167 | */ |
| 168 | 168 | public function getAuthnStatements(): array |
| 169 | 169 | { |
| 170 | - return array_values(array_filter($this->statements, function ($statement) { |
|
| 170 | + return array_values(array_filter($this->statements, function($statement) { |
|
| 171 | 171 | return $statement instanceof AuthnStatement; |
| 172 | 172 | })); |
| 173 | 173 | } |
@@ -178,7 +178,7 @@ discard block |
||
| 178 | 178 | */ |
| 179 | 179 | public function getStatements(): array |
| 180 | 180 | { |
| 181 | - return array_values(array_filter($this->statements, function ($statement) { |
|
| 181 | + return array_values(array_filter($this->statements, function($statement) { |
|
| 182 | 182 | return $statement instanceof AbstractStatement; |
| 183 | 183 | })); |
| 184 | 184 | } |