protected function validateFilled($attribute, $value) { if (array_key_exists($attribute, $this->data) || array_key_exists($attribute, $this->files)) { return $this->validateRequired($attribute, $value); } else { return true; } }