Completed
Push — master ( e13ad7...8c1ba7 )
by Eric
04:05
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
     public function toArray()
12 12
     {
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
             'name' => $this->name,
16 16
             'description' => $this->description,
17 17
             'user_id' => $this->user_id,
18
-            'completed' => $this->completed? true:false,
18
+            'completed' => $this->completed ? true:false,
19 19
             'created_at' => $this->created_at."",
20 20
             'updated_at' => $this->updated_at."",
21 21
         ];
Please login to merge, or discard this patch.