diff --git a/src/Nella/Forms/DateTime/DateInput.php b/src/Nella/Forms/DateTime/DateInput.php index 6bb5b08..89caf87 100644 --- a/src/Nella/Forms/DateTime/DateInput.php +++ b/src/Nella/Forms/DateTime/DateInput.php @@ -148,10 +148,9 @@ public function isFilled() } /** - * @param \Nella\Forms\DateTime\DateInput $control * @return bool */ - public function validateDate(DateInput $control) + public function validateDate() { return $this->isDisabled() || !$this->isFilled() || $this->getValue() !== NULL; }