fix some psr2 code
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user