Completed
Push — master ( 730f80...c057de )
by Lars
02:24
created
src/voku/cache/AdapterPredis.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
      */
48 48
     public function exists(string $key): bool
49 49
     {
50
-        return (bool) $this->client->exists($key);
50
+        return (bool)$this->client->exists($key);
51 51
     }
52 52
 
53 53
     /**
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
      */
72 72
     public function remove(string $key): bool
73 73
     {
74
-        return (bool) $this->client->del($key);
74
+        return (bool)$this->client->del($key);
75 75
     }
76 76
 
77 77
     /**
@@ -95,6 +95,6 @@  discard block
 block discarded – undo
95 95
      */
96 96
     public function setExpired(string $key, $value, int $ttl = 0): bool
97 97
     {
98
-        return (bool) $this->client->setex($key, $ttl, $value);
98
+        return (bool)$this->client->setex($key, $ttl, $value);
99 99
     }
100 100
 }
Please login to merge, or discard this patch.
src/voku/cache/AdapterOpCache.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
      */
75 75
     protected function getFileName(string $key): string
76 76
     {
77
-        return $this->cacheDir . \DIRECTORY_SEPARATOR . self::CACHE_FILE_PREFIX . $key . '.php';
77
+        return $this->cacheDir.\DIRECTORY_SEPARATOR.self::CACHE_FILE_PREFIX.$key.'.php';
78 78
     }
79 79
 
80 80
     /**
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
             $content = \var_export($item, true);
101 101
         }
102 102
 
103
-        $content = '<?php return ' . $content . ';';
103
+        $content = '<?php return '.$content.';';
104 104
 
105 105
         $cacheFile = $this->getFileName($key);
106 106
 
Please login to merge, or discard this patch.