Passed
Push — master ( 2e155a...683dac )
by Mauro
02:35
created
src/Controller/User/BaseUser.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -49,21 +49,21 @@
 block discarded – undo
49 49
     protected function saveInCache($id, $result)
50 50
     {
51 51
         $redis = $this->getRedisClient();
52
-        $key = 'api-rest-slimphp:user:'.$id;
52
+        $key = 'api-rest-slimphp:user:' . $id;
53 53
         $redis->set($key, json_encode($result));
54 54
     }
55 55
 
56 56
     protected function deleteFromCache($id)
57 57
     {
58 58
         $redis = $this->getRedisClient();
59
-        $key = 'api-rest-slimphp:user:'.$id;
59
+        $key = 'api-rest-slimphp:user:' . $id;
60 60
         $redis->del($key);
61 61
     }
62 62
 
63 63
     protected function getFromCache($id)
64 64
     {
65 65
         $redis = $this->getRedisClient();
66
-        $key = 'api-rest-slimphp:user:'.$id;
66
+        $key = 'api-rest-slimphp:user:' . $id;
67 67
         $value = $redis->get($key);
68 68
 
69 69
         return json_decode($value);
Please login to merge, or discard this patch.