@@ -184,7 +184,7 @@ discard block |
||
184 | 184 | $key = $this->returnKeyType($keyType); |
185 | 185 | |
186 | 186 | $query->cols(['*']) |
187 | - ->where("{$key} = ?", $id); |
|
187 | + ->where("{$key} = ?", $id); |
|
188 | 188 | |
189 | 189 | return $this->fireStatementAndReturn($query, true, $object, $archive); |
190 | 190 | } |
@@ -221,7 +221,7 @@ discard block |
||
221 | 221 | $key = $this->returnKeyType($keyType); |
222 | 222 | |
223 | 223 | $query->cols(['*']) |
224 | - ->where("{$key} = ?", $id); |
|
224 | + ->where("{$key} = ?", $id); |
|
225 | 225 | |
226 | 226 | return $this->fireStatementAndReturn($query, false, false, $archive); |
227 | 227 | } |
@@ -55,7 +55,7 @@ |
||
55 | 55 | if ($redis->exists($key)) { |
56 | 56 | $data = json_decode($redis->get($key)); |
57 | 57 | |
58 | - // Ignore if already flagged as being updated |
|
58 | + // Ignore if already flagged as being updated |
|
59 | 59 | if ($data->beingUpdated == 0) { |
60 | 60 | $data->forceUpdate = 1; |
61 | 61 | $redis->set($key, json_encode($data)); |
@@ -11,7 +11,7 @@ |
||
11 | 11 | /** |
12 | 12 | * Construct |
13 | 13 | * |
14 | - */ |
|
14 | + */ |
|
15 | 15 | public function __construct() |
16 | 16 | { |
17 | 17 |
@@ -89,7 +89,7 @@ |
||
89 | 89 | $query->cols(['*']); |
90 | 90 | $query->from('ws_players_total'); |
91 | 91 | if ($server != 0) { |
92 | - $query->where("playerServer = ?", $server); |
|
92 | + $query->where("playerServer = ?", $server); |
|
93 | 93 | } |
94 | 94 | $query->orderBy([$metric.' DESC']); |
95 | 95 | $query->limit($limit); |