mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-04-22 10:08:31 -05:00
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:
@@ -191,9 +191,8 @@ class TwoStepController extends Controller
|
||||
];
|
||||
|
||||
return response()->json($returnData, 200);
|
||||
} else {
|
||||
abort(404);
|
||||
}
|
||||
abort(404);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user