Completed
Push — master ( ed2c1f...593f3a )
by Lars
25:04 queued 10:01
created
src/SimpleAcl/RuleResult.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
    */
55 55
   public function __construct(Rule $rule, $priority, $needRoleName, $needResourceName)
56 56
   {
57
-    $this->id = bin2hex(openssl_random_pseudo_bytes(10));;
57
+    $this->id = bin2hex(openssl_random_pseudo_bytes(10)); ;
58 58
     $this->rule = $rule;
59 59
     $this->priority = $priority;
60 60
     $this->needRoleName = $needRoleName;
Please login to merge, or discard this patch.
src/SimpleAcl/Rule.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
         null === $ruleResult
162 162
     ) {
163 163
       if (null !== $actionResult) {
164
-        return (bool)$actionResult;
164
+        return (bool) $actionResult;
165 165
       } else {
166 166
         return null;
167 167
       }
@@ -170,7 +170,7 @@  discard block
 block discarded – undo
170 170
     $actionResult = call_user_func($this->action, $ruleResult);
171 171
 
172 172
     if (null !== $actionResult) {
173
-      return (bool)$actionResult;
173
+      return (bool) $actionResult;
174 174
     } else {
175 175
       return null;
176 176
     }
Please login to merge, or discard this patch.