mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-05-03 08:50:22 -05:00
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:
@@ -28,7 +28,7 @@ class ForgotPasswordController extends Controller
|
||||
|
||||
protected function validateEmail(Request $request): void
|
||||
{
|
||||
if (! \config('captcha.enabled')) {
|
||||
if ( ! config('captcha.enabled')) {
|
||||
$request->validate(['email' => 'required|email']);
|
||||
} else {
|
||||
$request->validate([
|
||||
|
||||
Reference in New Issue
Block a user