Completed
Push — develop ( 4719d1...397084 )
by Neomerx
05:12
created
Authorization/PolicyDecision/Algorithms/PoliciesOrSetsDenyUnlessPermit.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::evaluateDenyUnlessPermit($context, $optimizedTargets, $encPoliciesOrSets, $logger);
47 47
     }
48 48
 }
Please login to merge, or discard this patch.
src/Contracts/Authorization/PolicyAdministration/PolicySetInterface.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,12 +24,12 @@
 block discarded – undo
24 24
     /**
25 25
      * @return string|null
26 26
      */
27
-    public function getName(): ?string;
27
+    public function getName(): ? string;
28 28
 
29 29
     /**
30 30
      * @return TargetInterface|null
31 31
      */
32
-    public function getTarget(): ?TargetInterface;
32
+    public function getTarget(): ? TargetInterface;
33 33
 
34 34
     /**
35 35
      * @return PolicyInterface[]|PolicySetInterface[]
Please login to merge, or discard this patch.
src/Contracts/Authorization/PolicyAdministration/RuleInterface.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -24,24 +24,24 @@
 block discarded – undo
24 24
     /**
25 25
      * @return string|null
26 26
      */
27
-    public function getName(): ?string;
27
+    public function getName(): ? string;
28 28
 
29 29
     /**
30 30
      * @return TargetInterface|null
31 31
      */
32
-    public function getTarget(): ?TargetInterface;
32
+    public function getTarget(): ? TargetInterface;
33 33
 
34 34
     /**
35 35
      * Optional extra check if rule matches incoming request.
36 36
      *
37 37
      * @return MethodInterface|null
38 38
      */
39
-    public function getCondition(): ?MethodInterface;
39
+    public function getCondition(): ? MethodInterface;
40 40
 
41 41
     /**
42 42
      * @return MethodInterface|null
43 43
      */
44
-    public function effect(): ?MethodInterface;
44
+    public function effect(): ? MethodInterface;
45 45
 
46 46
     /**
47 47
      * @return ObligationInterface[]
Please login to merge, or discard this patch.
src/Contracts/Authorization/PolicyAdministration/TargetInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
     /**
25 25
      * @return string|null
26 26
      */
27
-    public function getName(): ?string;
27
+    public function getName(): ? string;
28 28
 
29 29
     /**
30 30
      * @return AnyOfInterface
Please login to merge, or discard this patch.
src/Contracts/Authorization/PolicyAdministration/PolicyInterface.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,12 +24,12 @@
 block discarded – undo
24 24
     /**
25 25
      * @return string|null
26 26
      */
27
-    public function getName(): ?string;
27
+    public function getName(): ? string;
28 28
 
29 29
     /**
30 30
      * @return TargetInterface|null
31 31
      */
32
-    public function getTarget(): ?TargetInterface;
32
+    public function getTarget(): ? TargetInterface;
33 33
 
34 34
     /**
35 35
      * @return RuleInterface[]
Please login to merge, or discard this patch.