Completed
Push — master ( 1363c9...e13ad7 )
by Eric
04:17
created
app/Task.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@  discard block
 block discarded – undo
6 6
 
7 7
 class Task extends Model
8 8
 {
9
-    protected $fillable = ['name','description', 'user_id', 'completed'];
9
+    protected $fillable = ['name', 'description', 'user_id', 'completed'];
10 10
 
11 11
 //    protected $timestamps = true;
12 12
 
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
             'name' => $this->name,
19 19
             'description' => $this->description,
20 20
             'user_id' => $this->user_id,
21
-            'completed' => $this->completed? true:false,
21
+            'completed' => $this->completed ? true:false,
22 22
             'created_at' => $this->created_at."",
23 23
             'updated_at' => $this->updated_at."",
24 24
         ];
Please login to merge, or discard this patch.