Fix typo in class name

This commit is contained in:
Bubka 2024-03-30 15:40:42 +01:00
parent 53eef9e018
commit fdccbbcc55
2 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
namespace App\Api\v1\Requests; namespace App\Api\v1\Requests;
use App\Rules\IsValideEmailList; use App\Rules\IsValidEmailList;
use Illuminate\Foundation\Http\FormRequest; use Illuminate\Foundation\Http\FormRequest;
use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\Auth;
@ -32,7 +32,7 @@ public function rules()
]; ];
if ($this->route()?->parameter('settingName') == 'restrictList') { if ($this->route()?->parameter('settingName') == 'restrictList') {
$rule['value'][] = new IsValideEmailList; $rule['value'][] = new IsValidEmailList;
} }
return $rule; return $rule;

View File

@ -6,7 +6,7 @@
use Illuminate\Contracts\Validation\ValidationRule; use Illuminate\Contracts\Validation\ValidationRule;
use Illuminate\Support\Facades\Validator; use Illuminate\Support\Facades\Validator;
class IsValideEmailList implements ValidationRule class IsValidEmailList implements ValidationRule
{ {
/** /**
* Run the validation rule. * Run the validation rule.