@@ -61,8 +61,8 @@ discard block |
||
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 |
||
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(); |