@@ -11,7 +11,7 @@ discard block |
||
11 | 11 | */ |
12 | 12 | protected function recordCountry($inc) |
13 | 13 | { |
14 | - $this->redis->zincrby($this->keys->visits."_countries:{$this->keys->id}", $inc, $this->getVisitorCountry()); |
|
14 | + $this->redis->zincrby($this->keys->visits . "_countries:{$this->keys->id}", $inc, $this->getVisitorCountry()); |
|
15 | 15 | } |
16 | 16 | |
17 | 17 | /** |
@@ -19,7 +19,7 @@ discard block |
||
19 | 19 | */ |
20 | 20 | protected function recordRefer($inc) |
21 | 21 | { |
22 | - $this->redis->zincrby($this->keys->visits."_referers:{$this->keys->id}", $inc, $this->getVisitorReferer()); |
|
22 | + $this->redis->zincrby($this->keys->visits . "_referers:{$this->keys->id}", $inc, $this->getVisitorReferer()); |
|
23 | 23 | } |
24 | 24 | |
25 | 25 | /** |
@@ -27,7 +27,7 @@ discard block |
||
27 | 27 | */ |
28 | 28 | protected function recordOperatingSystem($inc) |
29 | 29 | { |
30 | - $this->redis->zincrby($this->keys->visits."_OSes:{$this->keys->id}", $inc, $this->getVisitorOperatingSystem()); |
|
30 | + $this->redis->zincrby($this->keys->visits . "_OSes:{$this->keys->id}", $inc, $this->getVisitorOperatingSystem()); |
|
31 | 31 | } |
32 | 32 | |
33 | 33 | /** |
@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | */ |
36 | 36 | protected function recordLanguage($inc) |
37 | 37 | { |
38 | - $this->redis->zincrby($this->keys->visits."_languages:{$this->keys->id}", $inc, $this->getVisitorLanguage()); |
|
38 | + $this->redis->zincrby($this->keys->visits . "_languages:{$this->keys->id}", $inc, $this->getVisitorLanguage()); |
|
39 | 39 | } |
40 | 40 | |
41 | 41 | /** |
@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | $periodKey = $this->keys->period($period); |
48 | 48 | |
49 | 49 | $this->redis->zincrby($periodKey, $inc, $this->keys->id); |
50 | - $this->redis->incrby($periodKey.'_total', $inc); |
|
50 | + $this->redis->incrby($periodKey . '_total', $inc); |
|
51 | 51 | } |
52 | 52 | } |
53 | 53 |