Skip to content

Commit

Permalink
Merge pull request #58 from AhmadFida2/3.x
Browse files Browse the repository at this point in the history
Fix minDate Function
  • Loading branch information
coolsam726 authored Apr 17, 2024
2 parents c038773 + 5fabe1c commit 9c38cb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Forms/Components/Flatpickr.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

1 comment on commit 9c38cb0

@jeffersonGlemos
Copy link

@jeffersonGlemos jeffersonGlemos commented on 9c38cb0 May 13, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey folks! 🌟

Just a quick heads-up: Could we kindly ask @coolsam726 to help us out with fixing version 3.1.0 on Packagist or perhaps release a shiny new fix with version 3.1.1? Your help would be greatly appreciated! 🚀 Thanks a bunch!

Please sign in to comment.