@@ -71,7 +71,7 @@ |
||
71 | 71 | |
72 | 72 | /** |
73 | 73 | * @param string $key |
74 | - * @param mixed $item |
|
74 | + * @param ThrottlerItemInterface $item |
|
75 | 75 | * @return bool |
76 | 76 | */ |
77 | 77 | public function setItem(string $key, ThrottlerItemInterface $item): bool |
@@ -136,7 +136,7 @@ discard block |
||
136 | 136 | */ |
137 | 137 | private function getHitsCacheKey() |
138 | 138 | { |
139 | - return $this->key . self::CACHE_KEY_HITS; |
|
139 | + return $this->key.self::CACHE_KEY_HITS; |
|
140 | 140 | } |
141 | 141 | |
142 | 142 | /** |
@@ -144,6 +144,6 @@ discard block |
||
144 | 144 | */ |
145 | 145 | private function getTimeCacheKey() |
146 | 146 | { |
147 | - return $this->key . self::CACHE_KEY_TIME; |
|
147 | + return $this->key.self::CACHE_KEY_TIME; |
|
148 | 148 | } |
149 | 149 | } |