Passed
Push — master ( 86c3d2...1ebd3c )
by Gabor
07:26
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;
@@ -120,8 +120,8 @@  discard block
 block discarded – undo
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();
Please login to merge, or discard this patch.
src/WebHemi/Adapter/Renderer/Twig/TwigExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@
 block discarded – undo
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)) {
Please login to merge, or discard this patch.