@@ -68,7 +68,7 @@ discard block |
||
68 | 68 | |
69 | 69 | private function isClientValid() |
70 | 70 | { |
71 | - if (! $this->client) { |
|
71 | + if (!$this->client) { |
|
72 | 72 | throw new \Exception('Client is not valid'); |
73 | 73 | } |
74 | 74 | } |
@@ -104,7 +104,7 @@ discard block |
||
104 | 104 | { |
105 | 105 | $resources = $this->client->getResources(); |
106 | 106 | |
107 | - if (! $resources) { |
|
107 | + if (!$resources) { |
|
108 | 108 | $resources = json_encode( |
109 | 109 | array( |
110 | 110 | 'status' => 'offline' |
@@ -195,6 +195,9 @@ |
||
195 | 195 | $this->memcache_max_bytes = $maxBytes; |
196 | 196 | } |
197 | 197 | |
198 | + /** |
|
199 | + * @param integer $time |
|
200 | + */ |
|
198 | 201 | public function setTime($time) |
199 | 202 | { |
200 | 203 | $this->time = $time; |