Completed
Push — master ( dfda1d...2f160c )
by Lars
04:17 queued 18s
created
src/voku/cache/AdapterMemcached.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -91,8 +91,8 @@
 block discarded – undo
91 91
     public function set(string $key, $value): bool
92 92
     {
93 93
         // Make sure we are under the proper limit
94
-        if (\strlen($this->memcached->getOption(Memcached::OPT_PREFIX_KEY) . $key) > 250) {
95
-            throw new InvalidArgumentException('The passed cache key is over 250 bytes:' . \print_r($key, true));
94
+        if (\strlen($this->memcached->getOption(Memcached::OPT_PREFIX_KEY).$key) > 250) {
95
+            throw new InvalidArgumentException('The passed cache key is over 250 bytes:'.\print_r($key, true));
96 96
         }
97 97
 
98 98
         return $this->memcached->set($key, $value);
Please login to merge, or discard this patch.