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