mirror of
https://github.com/sp-tarkov/forge.git
synced 2025-02-12 20:20:41 -05:00
Part of moving back to PHPStan level 5 means we can remove some of these. They're very busy and don't give enough context to outweigh the ugly.
17 lines
323 B
PHP
17 lines
323 B
PHP
<?php
|
|
|
|
namespace App\Actions\Fortify;
|
|
|
|
use Illuminate\Validation\Rules\Password;
|
|
|
|
trait PasswordValidationRules
|
|
{
|
|
/**
|
|
* Get the validation rules used to validate passwords.
|
|
*/
|
|
protected function passwordRules(): array
|
|
{
|
|
return ['required', 'string', Password::default(), 'confirmed'];
|
|
}
|
|
}
|