@@ -40,7 +40,7 @@ |
||
40 | 40 | $id = $this->argument('id') ? $this->argument('id') : $this->askForTasks(); |
41 | 41 | $task = Task::findOrFail($id); |
42 | 42 | $task->update([ |
43 | - 'completed' => $task->completed?false:true, |
|
43 | + 'completed' => $task->completed ?false:true, |
|
44 | 44 | ]); |
45 | 45 | } catch (Exception $e) { |
46 | 46 | $this->error('Error'); |