@@ -133,7 +133,7 @@ discard block |
||
| 133 | 133 | array $optimizedTargets, |
| 134 | 134 | array $encodedItems, |
| 135 | 135 | ?LoggerInterface $logger |
| 136 | - ): array { |
|
| 136 | + ) : array { |
|
| 137 | 137 | foreach (static::evaluateTargets($context, $optimizedTargets, $logger) as $match => $itemId) { |
| 138 | 138 | $encodedItem = $encodedItems[$itemId]; |
| 139 | 139 | $packedEvaluation = static::evaluateItem($context, $match, $encodedItem, $logger); |
@@ -162,7 +162,7 @@ discard block |
||
| 162 | 162 | array $optimizedTargets, |
| 163 | 163 | array $encodedItems, |
| 164 | 164 | ?LoggerInterface $logger |
| 165 | - ): array { |
|
| 165 | + ) : array { |
|
| 166 | 166 | foreach (static::evaluateTargets($context, $optimizedTargets, $logger) as $match => $itemId) { |
| 167 | 167 | $encodedItem = $encodedItems[$itemId]; |
| 168 | 168 | $packedEvaluation = static::evaluateItem($context, $match, $encodedItem, $logger); |
@@ -191,7 +191,7 @@ discard block |
||
| 191 | 191 | array $optimizedTargets, |
| 192 | 192 | array $encodedItems, |
| 193 | 193 | ?LoggerInterface $logger |
| 194 | - ): array { |
|
| 194 | + ) : array { |
|
| 195 | 195 | foreach (static::evaluateTargets($context, $optimizedTargets, $logger) as $match => $itemId) { |
| 196 | 196 | $encodedItem = $encodedItems[$itemId]; |
| 197 | 197 | $packedEvaluation = static::evaluateItem($context, $match, $encodedItem, $logger); |
@@ -224,7 +224,7 @@ discard block |
||
| 224 | 224 | array $optimizedTargets, |
| 225 | 225 | array $encodedItems, |
| 226 | 226 | ?LoggerInterface $logger |
| 227 | - ): array { |
|
| 227 | + ) : array { |
|
| 228 | 228 | $foundDeny = false; |
| 229 | 229 | $foundPermit = false; |
| 230 | 230 | $foundIntDeny = false; |
@@ -302,7 +302,7 @@ discard block |
||
| 302 | 302 | array $optimizedTargets, |
| 303 | 303 | array $encodedItems, |
| 304 | 304 | ?LoggerInterface $logger |
| 305 | - ): array { |
|
| 305 | + ) : array { |
|
| 306 | 306 | $foundDeny = false; |
| 307 | 307 | $foundPermit = false; |
| 308 | 308 | $foundIntDeny = false; |
@@ -42,7 +42,7 @@ |
||
| 42 | 42 | array $optimizedTargets, |
| 43 | 43 | array $encPoliciesOrSets, |
| 44 | 44 | ?LoggerInterface $logger |
| 45 | - ): array { |
|
| 45 | + ) : array { |
|
| 46 | 46 | return self::evaluateFirstApplicable($context, $optimizedTargets, $encPoliciesOrSets, $logger); |
| 47 | 47 | } |
| 48 | 48 | } |