M3 Security Fixes for scan command pass 33 major code smell fixes and style fixes

This commit is contained in:
Mark Gregory
2026-09-17 11:34:41 +01:00
parent 0a05f05843
commit 0c445f89af
69 changed files with 1786 additions and 1752 deletions
@@ -38,12 +38,12 @@ class ShipToController extends Controller
public function create()
{
// US
$USstates = USStates::all();
$uSstates = USStates::all();
// CA
$CAstates = CAProvinces::all();
$cAstates = CAProvinces::all();
// All States
$states = array_merge($USstates, $CAstates);
$states = array_merge($uSstates, $cAstates);
return view('m3::liberty-theme.pages.ship-to.create', compact('states'));
}
@@ -104,12 +104,12 @@ class ShipToController extends Controller
public function edit($aushshzp, $aushwhs)
{
// US
$USstates = USStates::all();
$uSstates = USStates::all();
// CA
$CAstates = CAProvinces::all();
$cAstates = CAProvinces::all();
// All States
$states = array_merge($USstates, $CAstates);
$states = array_merge($uSstates, $cAstates);
$shipTo = ShipTo::where('AUSHSHZP', $aushshzp)
->where('AUSHWHS', $aushwhs)