Completed
Pull Request — master (#308)
by Gildas
33:00
created
lib/Doctrine/Common/Cache/MemcachedCache.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
         if (
83 83
             strlen($id) > 250
84 84
             || false !== strpos($id, ' ')
85
-            || !ctype_print($id)
85
+            || ! ctype_print($id)
86 86
         ) {
87 87
             throw new InvalidCacheId($id);
88 88
         }
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
     {
128 128
         $stats   = $this->memcached->getStats();
129 129
         $servers = $this->memcached->getServerList();
130
-        $key     = $servers[0]['host'] . ':' . $servers[0]['port'];
130
+        $key     = $servers[0]['host'].':'.$servers[0]['port'];
131 131
         $stats   = $stats[$key];
132 132
 
133 133
         return [
Please login to merge, or discard this patch.