'mimes:png,gif,jpg,jpeg,svg', 'avatar' => 'mimes:png,gif,jpg,jpeg,svg', ]; } public function response(array $errors) { return $this->redirector->back()->withInput()->withErrors($errors, $this->errorBag); } }