Skip to content
This repository has been archived by the owner on Nov 15, 2020. It is now read-only.

Commit

Permalink
DateInput - removed useless argument
Browse files Browse the repository at this point in the history
  • Loading branch information
janlanger authored and Vrtak-CZ committed Jul 8, 2016
1 parent ac7dba4 commit 96ae6bb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Nella/Forms/DateTime/DateInput.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 96ae6bb

Please sign in to comment.