Passed
Push — master ( a5c111...9b63e5 )
by Gabor
05:21
created
src/WebHemi/Acl/Acl.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -61,8 +61,8 @@  discard block
 block discarded – undo
61 61
      */
62 62
     public function isAllowed(
63 63
         UserEntity $userEntity,
64
-        ?ResourceEntity $resourceEntity = null,
65
-        ?ApplicationEntity $applicationEntity = null
64
+        ? ResourceEntity $resourceEntity = null,
65
+        ? ApplicationEntity $applicationEntity = null
66 66
     ) : bool {
67 67
         // We assume the best case: the user has access
68 68
         $allowed = false;
@@ -125,8 +125,8 @@  discard block
 block discarded – undo
125 125
      */
126 126
     private function checkPolicy(
127 127
         PolicyEntity $policyEntity,
128
-        ?ResourceEntity $resourceEntity = null,
129
-        ?ApplicationEntity $applicationEntity = null
128
+        ? ResourceEntity $resourceEntity = null,
129
+        ? ApplicationEntity $applicationEntity = null
130 130
     ) : bool {
131 131
         $policyResourceId = $policyEntity->getResourceId();
132 132
         $policyApplicationId = $policyEntity->getApplicationId();
Please login to merge, or discard this patch.