update: UNIT3D linting

- github action updated with new ruleset in pint.json
- codebase linted with new ruleset
- contributors can now run `./vendor/bin/pint`
- action workflow will auto correct any lint issues upon commit/opened pull request
This commit is contained in:
HDVinnie
2023-02-02 08:02:34 -05:00
parent 098e3fcdd8
commit 472c820f99
751 changed files with 10559 additions and 10518 deletions
+3 -3
View File
@@ -28,7 +28,7 @@ class ContactController extends Controller
*/
public function index(): \Illuminate\Contracts\View\Factory|\Illuminate\View\View
{
return \view('contact.index');
return view('contact.index');
}
/**
@@ -37,12 +37,12 @@ class ContactController extends Controller
public function store(Request $request): \Illuminate\Http\RedirectResponse
{
// Fetch owner account
$user = User::where('username', \config('unit3d.owner-username'))->first();
$user = User::where('username', config('unit3d.owner-username'))->first();
$input = $request->all();
Mail::to($user->email)->send(new Contact($input));
return \to_route('home.index')
return to_route('home.index')
->withSuccess('Your Message Was Successfully Sent');
}
}