@@ -102,7 +102,7 @@ |
||
102 | 102 | */ |
103 | 103 | public function check(): bool |
104 | 104 | { |
105 | - return (! $this->throttlerCache->isExpired($this->data->getKey())) |
|
105 | + return (!$this->throttlerCache->isExpired($this->data->getKey())) |
|
106 | 106 | && ($this->throttlerCache->count($this->data->getKey()) < $this->settings->getLimit()); |
107 | 107 | } |
108 | 108 | } |
@@ -27,9 +27,9 @@ |
||
27 | 27 | |
28 | 28 | class ElasticWindowThrottler extends AbstractWindowThrottler implements ThrottlerInterface |
29 | 29 | { |
30 | - /** |
|
31 | - * @inheritdoc |
|
32 | - */ |
|
30 | + /** |
|
31 | + * @inheritdoc |
|
32 | + */ |
|
33 | 33 | public function hit(): ThrottlerInterface |
34 | 34 | { |
35 | 35 | $key = $this->data->getKey(); |