@@ -16,11 +16,11 @@ |
||
| 16 | 16 | */ |
| 17 | 17 | trait RuleChain |
| 18 | 18 | { |
| 19 | - abstract public function add(Rule|RuleSet ...$rules): static; |
|
| 19 | + abstract public function add(Rule | RuleSet ...$rules): static; |
|
| 20 | 20 | |
| 21 | 21 | public function __call($name, $arguments): static |
| 22 | 22 | { |
| 23 | - $namespace = __NAMESPACE__ . '\\Rules'; |
|
| 23 | + $namespace = __NAMESPACE__.'\\Rules'; |
|
| 24 | 24 | $class = sprintf("%s\%s", $namespace, ucfirst($name)); |
| 25 | 25 | if (!class_exists($class)) { |
| 26 | 26 | throw new RuntimeException(sprintf('Rule not found: (%s).', $name)); |