@@ -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; |
@@ -120,8 +120,8 @@ discard block |
||
120 | 120 | */ |
121 | 121 | private function checkPolicy( |
122 | 122 | PolicyEntity $policyEntity, |
123 | - ?ApplicationEntity $applicationEntity = null, |
|
124 | - ?ResourceEntity $resourceEntity = null |
|
123 | + ? ApplicationEntity $applicationEntity = null, |
|
124 | + ? ResourceEntity $resourceEntity = null |
|
125 | 125 | ) : bool { |
126 | 126 | $policyApplicationId = $policyEntity->getApplicationId(); |
127 | 127 | $policyResourceId = $policyEntity->getResourceId(); |
@@ -99,7 +99,7 @@ |
||
99 | 99 | $config = []; |
100 | 100 | |
101 | 101 | if ($this->configuration->has('renderer/Global/'.$type)) { |
102 | - $config = $this->configuration->getData('renderer/Global/' . $type); |
|
102 | + $config = $this->configuration->getData('renderer/Global/'.$type); |
|
103 | 103 | } |
104 | 104 | |
105 | 105 | if ($this->configuration->has('renderer/'.$module.'/'.$type)) { |