Completed
Push — master ( 7e8c1c...d24ff3 )
by Mehmet
04:38
created
src/MemcachedCache.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
     public function __construct(Memcached $handler)
19 19
     {
20 20
         $this->handler = $handler;
21
-        if(Memcached::HAVE_IGBINARY){
21
+        if (Memcached::HAVE_IGBINARY) {
22 22
             ini_set("memcached.serializer", "igbinary");
23 23
         }
24 24
     }
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
      *
45 45
      * @return bool True on success and false on failure
46 46
      */
47
-    public function set($key, $value, $ttl = null){
47
+    public function set($key, $value, $ttl = null) {
48 48
         return $this->handler->set($key, $value, intval($ttl));
49 49
     }
50 50
     /**
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
      *
55 55
      * @return bool True on success and false on failure
56 56
      */
57
-    public function delete($key){
57
+    public function delete($key) {
58 58
         return (bool) $this->handler->delete($key);
59 59
     }
60 60
     /**
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
      *
63 63
      * @return bool True on success and false on failure
64 64
      */
65
-    public function clear(){
65
+    public function clear() {
66 66
         return $this->handler->flush();
67 67
     }
68 68
     /**
Please login to merge, or discard this patch.