Completed
Push — master ( 91621e...87af8d )
by Neomerx
03:43
created
Authorization/PolicyDecision/Algorithms/PoliciesOrSetsPermitOverrides.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,8 +41,8 @@
 block discarded – undo
41 41
         ContextInterface $context,
42 42
         array $optimizedTargets,
43 43
         array $encPoliciesOrSets,
44
-        ?LoggerInterface $logger
45
-    ): array {
44
+        ? LoggerInterface $logger
45
+    ) : array {
46 46
         return static::evaluatePermitOverrides($context, $optimizedTargets, $encPoliciesOrSets, $logger);
47 47
     }
48 48
 }
Please login to merge, or discard this patch.
Authorization/PolicyDecision/Algorithms/PoliciesOrSetsFirstApplicable.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,8 +41,8 @@
 block discarded – undo
41 41
         ContextInterface $context,
42 42
         array $optimizedTargets,
43 43
         array $encPoliciesOrSets,
44
-        ?LoggerInterface $logger
45
-    ): array {
44
+        ? LoggerInterface $logger
45
+    ) : array {
46 46
         return self::evaluateFirstApplicable($context, $optimizedTargets, $encPoliciesOrSets, $logger);
47 47
     }
48 48
 }
Please login to merge, or discard this patch.
src/Authorization/PolicyDecision/Algorithms/RulesPermitUnlessDeny.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,8 +41,8 @@
 block discarded – undo
41 41
         ContextInterface $context,
42 42
         array $optimizedTargets,
43 43
         array $encodedRules,
44
-        ?LoggerInterface $logger
45
-    ): array {
44
+        ? LoggerInterface $logger
45
+    ) : array {
46 46
         return self::evaluatePermitUnlessDeny($context, $optimizedTargets, $encodedRules, $logger);
47 47
     }
48 48
 }
Please login to merge, or discard this patch.
src/Authorization/PolicyDecision/Algorithms/PoliciesOrSetsDenyOverrides.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,8 +41,8 @@
 block discarded – undo
41 41
         ContextInterface $context,
42 42
         array $optimizedTargets,
43 43
         array $encPoliciesOrSets,
44
-        ?LoggerInterface $logger
45
-    ): array {
44
+        ? LoggerInterface $logger
45
+    ) : array {
46 46
         return static::evaluateDenyOverrides($context, $optimizedTargets, $encPoliciesOrSets, $logger);
47 47
     }
48 48
 }
Please login to merge, or discard this patch.
src/Authorization/PolicyDecision/Algorithms/BaseAlgorithmInterface.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -37,8 +37,8 @@  discard block
 block discarded – undo
37 37
     public static function evaluateTargets(
38 38
         ContextInterface $context,
39 39
         array $optimizedTargets,
40
-        ?LoggerInterface $logger
41
-    ): Generator;
40
+        ? LoggerInterface $logger
41
+    ) : Generator;
42 42
 
43 43
     /**
44 44
      * @param ContextInterface     $context
@@ -52,6 +52,6 @@  discard block
 block discarded – undo
52 52
         ContextInterface $context,
53 53
         int $match,
54 54
         array $encodedItem,
55
-        ?LoggerInterface $logger
56
-    ): array;
55
+        ? LoggerInterface $logger
56
+    ) : array;
57 57
 }
Please login to merge, or discard this patch.
src/Authorization/PolicyDecision/Algorithms/RulesDenyOverrides.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,8 +41,8 @@
 block discarded – undo
41 41
         ContextInterface $context,
42 42
         array $optimizedTargets,
43 43
         array $serializedRules,
44
-        ?LoggerInterface $logger
45
-    ): array {
44
+        ? LoggerInterface $logger
45
+    ) : array {
46 46
         return static::evaluateDenyOverrides($context, $optimizedTargets, $serializedRules, $logger);
47 47
     }
48 48
 }
Please login to merge, or discard this patch.
src/Authorization/PolicyDecision/Algorithms/BaseRuleAlgorithm.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -102,8 +102,8 @@
 block discarded – undo
102 102
         ContextInterface $context,
103 103
         int $match,
104 104
         array $encodedItem,
105
-        ?LoggerInterface $logger
106
-    ): array {
105
+        ? LoggerInterface $logger
106
+    ) : array {
107 107
         return static::evaluateRule($context, $match, $encodedItem, $logger);
108 108
     }
109 109
 
Please login to merge, or discard this patch.
src/Authorization/PolicyDecision/Algorithms/RulesFirstApplicable.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,8 +41,8 @@
 block discarded – undo
41 41
         ContextInterface $context,
42 42
         array $optimizedTargets,
43 43
         array $encodedRules,
44
-        ?LoggerInterface $logger
45
-    ): array {
44
+        ? LoggerInterface $logger
45
+    ) : array {
46 46
         return self::evaluateFirstApplicable($context, $optimizedTargets, $encodedRules, $logger);
47 47
     }
48 48
 }
Please login to merge, or discard this patch.
src/Authorization/PolicyDecision/Algorithms/RulesDenyUnlessPermit.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,8 +41,8 @@
 block discarded – undo
41 41
         ContextInterface $context,
42 42
         array $optimizedTargets,
43 43
         array $encodedRules,
44
-        ?LoggerInterface $logger
45
-    ): array {
44
+        ? LoggerInterface $logger
45
+    ) : array {
46 46
         return self::evaluateDenyUnlessPermit($context, $optimizedTargets, $encodedRules, $logger);
47 47
     }
48 48
 }
Please login to merge, or discard this patch.