Passed
Push — master ( ba1857...99cddd )
by
unknown
11:01
created
app/Http/Controllers/Api/V1/PostsController.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
     public function index()
26 26
     {
27 27
         $posts = Redis::get('posts');
28
-        if (! $posts) {
28
+        if (!$posts) {
29 29
             $posts = Post::with('author')->all();
30 30
         }
31 31
 
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
     public function show($id)
48 48
     {
49 49
         $post = Redis::get('posts:'.$id);
50
-        if (! $post) {
50
+        if (!$post) {
51 51
             $post = Post::with('author')->findOrFail($id);
52 52
         }
53 53
 
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
     public function author($id)
98 98
     {
99 99
         $author = Redis::get('posts:authors:'.$id);
100
-        if (! $author) {
100
+        if (!$author) {
101 101
             $author = Post::findOrFail($id)->author;
102 102
         }
103 103
 
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
     public function images($id)
115 115
     {
116 116
         $images = Redis::get('posts:images:'.$id);
117
-        if (! $images) {
117
+        if (!$images) {
118 118
             $images = Post::findOrFail($id)->images;
119 119
         }
120 120
 
Please login to merge, or discard this patch.