@@ -18,7 +18,7 @@ discard block |
||
18 | 18 | |
19 | 19 | public function get(string $key): int |
20 | 20 | { |
21 | - return (int)$this->redis->get($key); |
|
21 | + return (int) $this->redis->get($key); |
|
22 | 22 | } |
23 | 23 | |
24 | 24 | public function inc(string $key, int $ttl = 60): int |
@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | |
34 | 34 | public function reset(string $key): bool |
35 | 35 | { |
36 | - return (bool)$this->redis->del($key); |
|
36 | + return (bool) $this->redis->del($key); |
|
37 | 37 | } |
38 | 38 | |
39 | 39 | public function isExceeded(string $key, int $max): bool |