fix some psr2 code

This commit is contained in:
2020-08-10 08:19:29 +02:00
parent 2c054b9b79
commit 885779911c
5 changed files with 7 additions and 7 deletions

View File

@@ -63,7 +63,7 @@ class ToDoController extends Controller
{
$this->authorize('update', $toDoList);
($toDo->checked_at) ? $toDo->checked_at = NULL : $toDo->checked_at = now();
($toDo->checked_at) ? $toDo->checked_at = null : $toDo->checked_at = now();
$toDo->save();
return (new ToDoResource($toDo))