@@ -141,7 +141,7 @@ |
||
| 141 | 141 | * @param string $resourceName |
| 142 | 142 | * @param string $applicationName |
| 143 | 143 | */ |
| 144 | - private function checkResourceNameAgainstRouting(string &$resourceName, string $applicationName) : void |
|
| 144 | + private function checkResourceNameAgainstRouting(string&$resourceName, string $applicationName) : void |
|
| 145 | 145 | { |
| 146 | 146 | $applicationConfig = $this->configuration |
| 147 | 147 | ->getData('applications/'.$applicationName); |
@@ -35,7 +35,7 @@ |
||
| 35 | 35 | * @return string |
| 36 | 36 | */ |
| 37 | 37 | protected function getSelectedThemeResourcePath( |
| 38 | - string &$selectedTheme, |
|
| 38 | + string&$selectedTheme, |
|
| 39 | 39 | ConfigInterface $configuration, |
| 40 | 40 | EnvironmentManager $environmentManager |
| 41 | 41 | ) : string { |
@@ -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(); |