@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | public function __construct(string $command, callable $script, string ...$chars) |
63 | 63 | { |
64 | 64 | $chars_count = count($chars); |
65 | - if ( $chars_count === 0) |
|
65 | + if ($chars_count === 0) |
|
66 | 66 | { |
67 | 67 | throw new BotException("No character given for matching the command"); |
68 | 68 | } |
@@ -74,7 +74,7 @@ discard block |
||
74 | 74 | else |
75 | 75 | { |
76 | 76 | $this->regex_rule = '(' . $chars[0]; |
77 | - foreach($chars as $char) |
|
77 | + foreach ($chars as $char) |
|
78 | 78 | { |
79 | 79 | $this->regex_rule .= '|' . $char; |
80 | 80 | } |