Completed
Push — master ( 5da3c5...1ddebf )
by Manu
50:21 queued 35:23
created
src/Http/Controllers/PostController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
     // ...
19 19
 
20 20
     // get data to save in an associative array using $request->only()
21
-    $data = $request->only(['title', 'description']);
21
+    $data = $request->only([ 'title', 'description' ]);
22 22
 
23 23
     //  save post and assign return value of created post to $post array
24 24
     $post = Post::create($data);
Please login to merge, or discard this patch.