@@ -64,7 +64,7 @@ discard block |
||
64 | 64 | protected DateTimeImmutable $issueInstant, |
65 | 65 | protected ?Conditions $conditions = null, |
66 | 66 | protected ?Advice $advice = null, |
67 | - protected array $statements = [], |
|
67 | + protected array $statements = [ ], |
|
68 | 68 | ) { |
69 | 69 | Assert::same($issueInstant->getTimeZone()->getName(), 'Z', ProtocolViolationException::class); |
70 | 70 | Assert::validNCName($assertionID, SchemaViolationException::class); |
@@ -147,7 +147,7 @@ discard block |
||
147 | 147 | */ |
148 | 148 | public function getStatements(): array |
149 | 149 | { |
150 | - return array_values(array_filter($this->statements, function ($statement) { |
|
150 | + return array_values(array_filter($this->statements, function($statement) { |
|
151 | 151 | return $statement instanceof AbstractStatement; |
152 | 152 | })); |
153 | 153 | } |
@@ -158,7 +158,7 @@ discard block |
||
158 | 158 | */ |
159 | 159 | public function getSubjectStatements(): array |
160 | 160 | { |
161 | - return array_values(array_filter($this->statements, function ($statement) { |
|
161 | + return array_values(array_filter($this->statements, function($statement) { |
|
162 | 162 | return $statement instanceof AbstractSubjectStatement; |
163 | 163 | })); |
164 | 164 | } |
@@ -169,7 +169,7 @@ discard block |
||
169 | 169 | */ |
170 | 170 | public function getAuthenticationStatements(): array |
171 | 171 | { |
172 | - return array_values(array_filter($this->statements, function ($statement) { |
|
172 | + return array_values(array_filter($this->statements, function($statement) { |
|
173 | 173 | return $statement instanceof AuthenticationStatement; |
174 | 174 | })); |
175 | 175 | } |
@@ -180,7 +180,7 @@ discard block |
||
180 | 180 | */ |
181 | 181 | public function getAuthorizationStatements(): array |
182 | 182 | { |
183 | - return array_values(array_filter($this->statements, function ($statement) { |
|
183 | + return array_values(array_filter($this->statements, function($statement) { |
|
184 | 184 | return $statement instanceof AuthorizationDecisionStatement; |
185 | 185 | })); |
186 | 186 | } |
@@ -191,7 +191,7 @@ discard block |
||
191 | 191 | */ |
192 | 192 | public function getAttributeStatements(): array |
193 | 193 | { |
194 | - return array_values(array_filter($this->statements, function ($statement) { |
|
194 | + return array_values(array_filter($this->statements, function($statement) { |
|
195 | 195 | return $statement instanceof AttributeStatement; |
196 | 196 | })); |
197 | 197 | } |
@@ -275,7 +275,7 @@ discard block |
||
275 | 275 | ); |
276 | 276 | |
277 | 277 | if (!empty($signature)) { |
278 | - $assertion->setSignature($signature[0]); |
|
278 | + $assertion->setSignature($signature[ 0 ]); |
|
279 | 279 | $assertion->setXML($xml); |
280 | 280 | } |
281 | 281 |