refactor: if / else / elseif statements

- Change If Else Value Assign To Early Return
- Change Nested Ifs To Early Return
- Remove Always Else
This commit is contained in:
HDVinnie
2020-02-12 12:34:34 -05:00
parent 8607387023
commit 611fcd6bc1
57 changed files with 1065 additions and 1341 deletions
@@ -191,9 +191,8 @@ class TwoStepController extends Controller
];
return response()->json($returnData, 200);
} else {
abort(404);
}
abort(404);
}
/**