Passed
Push — master ( 2b9e2e...be2493 )
by Gabor
03:08
created
src/WebHemi/Renderer/Helper/IsAllowedHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -141,7 +141,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
src/WebHemi/Renderer/GetSelectedThemeResourcePathTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
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 {
Please login to merge, or discard this patch.
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.