fix some psr2 code
This commit is contained in:
1 parent
2c054b9b79
commit
885779911c
5 files changed
+7
-7
No files matched your search
@@ -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