Completed
Push — 6.0 ( b19fcf...6d3b4b )
by liu
06:20
created
src/think/cache/driver/Memcached.php 1 patch
Spacing   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.