@@ -153,7 +153,7 @@ |
||
153 | 153 | $query = $this->db->prepare($sql); |
154 | 154 | $query->bindValue(':cache_key', $key, PDO::PARAM_STR); |
155 | 155 | $query->execute(); |
156 | - $count =$query->fetchColumn(); |
|
156 | + $count = $query->fetchColumn(); |
|
157 | 157 | |
158 | 158 | return $count > 0; |
159 | 159 | } |
@@ -65,10 +65,10 @@ |
||
65 | 65 | protected function connect(array $config): void |
66 | 66 | { |
67 | 67 | $host = 'mysql' . |
68 | - ':host=' . $config['host'] . |
|
69 | - ';port=' . $config['port'] . |
|
68 | + ':host=' . $config['host'] . |
|
69 | + ';port=' . $config['port'] . |
|
70 | 70 | ';dbname=' . $config['dbname'] . |
71 | - ';charset='. $config['charset']; |
|
71 | + ';charset=' . $config['charset']; |
|
72 | 72 | |
73 | 73 | $user = $config['user']; |
74 | 74 | $pass = $config['pass']; |
@@ -61,7 +61,7 @@ |
||
61 | 61 | protected function doGet(string $key): array |
62 | 62 | { |
63 | 63 | $success = false; |
64 | - $content = apc_fetch($key, $success); |
|
64 | + $content = apc_fetch($key, $success); |
|
65 | 65 | |
66 | 66 | if (empty($content) || !$success) { |
67 | 67 | return []; |