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

Commit

Permalink
Merge branch 'hotfix/2633'
Browse files Browse the repository at this point in the history
Fixes unit tests.
  • Loading branch information
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Date.php
Expand Up @@ -132,6 +132,10 @@ public function isValid($value)
$this->error(self::INVALID_DATE);
return false;
}
if ($date === false) {
$this->error(self::INVALID_DATE);
return false;
}
} else {
if (is_array($value)) {
$value = implode('-', $value);
Expand Down

0 comments on commit e156354

Please sign in to comment.