diff --git a/src/Forms/Components/Flatpickr.php b/src/Forms/Components/Flatpickr.php index 7463fd4..a92c6a8 100644 --- a/src/Forms/Components/Flatpickr.php +++ b/src/Forms/Components/Flatpickr.php @@ -499,7 +499,7 @@ public function getMinDate(): Carbon|string|null return $this->minDate; } - public function minDate(Carbon|string|null $minDate|Closure): static + public function minDate(Carbon|string|null|Closure $minDate): static { $this->minDate = $minDate ? Carbon::parse($minDate) : $minDate;