Completed
Push — master ( 5da3c5...1ddebf )
by Manu
50:21 queued 35:23
created
src/Http/Controllers/PostController.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -8,10 +8,10 @@  discard block
 block discarded – undo
8 8
 
9 9
 class PostController extends Controller {
10 10
 
11
-  /**
12
-   * Saves a new post to the database
13
-   */
14
-  public function store(Request $request) {
11
+    /**
12
+     * Saves a new post to the database
13
+     */
14
+    public function store(Request $request) {
15 15
     // ...
16 16
     // validation can be done here before saving
17 17
     // with $this->validate($request, $rules)
@@ -30,5 +30,5 @@  discard block
 block discarded – undo
30 30
 
31 31
     // return post as response, Laravel automatically serializes this to JSON
32 32
     return response($post, 201);
33
-  }
33
+    }
34 34
 }
Please login to merge, or discard this patch.