src/Http/Requests/RegisterRequest.php
Method rules
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function rules()
{
$rules = [
'first_name' => ['required', 'string', 'max:255', new NoHtmlTags()],
'last_name' => ['required', 'string', 'max:255', new NoHtmlTags()],