protected function anyFailingRequired(array $attributes) { foreach ($attributes as $key) { if (!$this->validateRequired($key, $this->getValue($key))) { return true; } } return false; }