@@ -82,7 +82,7 @@ discard block |
||
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 |
||
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 [ |