diff --git a/src/Rules/Date.php b/src/Rules/Date.php index 37c5b03..20b8f01 100644 --- a/src/Rules/Date.php +++ b/src/Rules/Date.php @@ -29,6 +29,6 @@ public function check($value): bool $this->requireParameters($this->fillableParams); $format = $this->parameter('format'); - return date_create_from_format($format, $value) !== false; + return date_create_from_format($format, $value ?? '') !== false; } }