|string> */ public function rules(): array { return [ 'name' => 'required|max:255', 'last_name' => 'required|max:255', 'middle_name' => 'required|max:255', 'birthday' => 'required|date', 'login' => 'required|max:255|lowercase|unique:users,login', 'password' => 'required|max:255', ]; } }