@@ -161,7 +161,7 @@ discard block |
||
| 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 |
||
| 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 | } |
@@ -1,7 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | namespace SimpleAcl; |
| 3 | 3 | |
| 4 | -use RecursiveIteratorIterator; |
|
| 5 | 4 | use SimpleAcl\Resource; |
| 6 | 5 | use SimpleAcl\Resource\ResourceAggregateInterface; |
| 7 | 6 | use SimpleAcl\Role; |
@@ -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 ( |