Passed
Push — 5.1 ( 12d15c...c10446 )
by liu
10:42
created
library/think/cache/driver/Memcached.php 1 patch
Spacing   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -187,8 +187,7 @@  discard block
 block discarded – undo
187 187
         $key = $this->getCacheKey($name);
188 188
 
189 189
         return false === $ttl ?
190
-        $this->handler->delete($key) :
191
-        $this->handler->delete($key, $ttl);
190
+        $this->handler->delete($key) : $this->handler->delete($key, $ttl);
192 191
     }
193 192
 
194 193
     /**
@@ -237,7 +236,7 @@  discard block
 block discarded – undo
237 236
             }
238 237
 
239 238
             foreach ($keys as $key) {
240
-                $this->handler->append($tagName, ',' . $key);
239
+                $this->handler->append($tagName, ','.$key);
241 240
             }
242 241
         }
243 242
 
@@ -256,7 +255,7 @@  discard block
 block discarded – undo
256 255
             $tagName = $this->getTagKey($this->tag);
257 256
 
258 257
             if ($this->has($tagName)) {
259
-                $this->handler->append($tagName, ',' . $name);
258
+                $this->handler->append($tagName, ','.$name);
260 259
             } else {
261 260
                 $this->handler->set($tagName, $name);
262 261
             }
Please login to merge, or discard this patch.