@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace App\Controller\User; |
| 4 | 4 | |
| 5 | -use App\Controller\BaseController; |
|
| 6 | 5 | use Slim\Http\Request; |
| 7 | 6 | use Slim\Http\Response; |
| 8 | 7 | |
@@ -29,7 +29,7 @@ |
||
| 29 | 29 | |
| 30 | 30 | $this->setParams($request, $response, $args); |
| 31 | 31 | $client = new \Predis\Client(); |
| 32 | - $key = 'api-rest-slimphp:user:'.$this->args['id']; |
|
| 32 | + $key = 'api-rest-slimphp:user:' . $this->args['id']; |
|
| 33 | 33 | $value = $client->get($key); |
| 34 | 34 | if (!is_null($value)) { |
| 35 | 35 | $result = json_decode($value); |