@@ -76,7 +76,7 @@ |
||
| 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 ( |
@@ -152,7 +152,7 @@ discard block |
||
| 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 |
||
| 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; |