Completed
Push — master ( e49856...2f76b0 )
by Lars
80:47
created
src/SimpleAcl/Acl.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
     } elseif ($argsCount == 1) {
77 77
       $rule = $args[0];
78 78
     } else {
79
-      throw new InvalidArgumentException(__METHOD__ . ' accepts only one, tow, three or four arguments');
79
+      throw new InvalidArgumentException(__METHOD__.' accepts only one, tow, three or four arguments');
80 80
     }
81 81
 
82 82
     if (
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
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
         !\is_callable($actionResult)
153 153
     ) {
154 154
       if (null !== $actionResult) {
155
-        return (bool)$actionResult;
155
+        return (bool) $actionResult;
156 156
       }
157 157
 
158 158
       return null;
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
     $actionResult = \call_user_func($this->action, $ruleResult);
162 162
 
163 163
     if (null !== $actionResult) {
164
-      return (bool)$actionResult;
164
+      return (bool) $actionResult;
165 165
     }
166 166
 
167 167
     return null;
Please login to merge, or discard this patch.