require_checkinout_notes) { $rules['note'] = 'string|required'; } return $rules; } public function response(array $errors) { return $this->redirector->back()->withInput()->withErrors($errors, $this->errorBag); } }