@@ -23,7 +23,7 @@ |
||
23 | 23 | { |
24 | 24 | $this->setParams($request, $response, $args); |
25 | 25 | $client = new \Predis\Client(); |
26 | - $key = 'api-rest-slimphp:user:'.$this->args['id']; |
|
26 | + $key = 'api-rest-slimphp:user:' . $this->args['id']; |
|
27 | 27 | $value = $client->get($key); |
28 | 28 | if (!is_null($value)) { |
29 | 29 | $result = json_decode($value); |