@@ -8,7 +8,7 @@ discard block |
||
8 | 8 | // +---------------------------------------------------------------------- |
9 | 9 | // | Author: liu21st <[email protected]> |
10 | 10 | // +---------------------------------------------------------------------- |
11 | -declare (strict_types = 1); |
|
11 | +declare(strict_types=1); |
|
12 | 12 | |
13 | 13 | namespace think\cache\driver; |
14 | 14 | |
@@ -191,8 +191,7 @@ discard block |
||
191 | 191 | $key = $this->getCacheKey($name); |
192 | 192 | |
193 | 193 | return false === $ttl ? |
194 | - $this->handler->delete($key) : |
|
195 | - $this->handler->delete($key, $ttl); |
|
194 | + $this->handler->delete($key) : $this->handler->delete($key, $ttl); |
|
196 | 195 | } |
197 | 196 | |
198 | 197 | /** |