-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Mistake with method definition #69
Comments
I'm also having this issue with a fresh install - manually edited the vendor file whilst waiting for this to be fixed. Any idea when you can fix this @coolsam726? Thanks |
Same here. Any update on this ? |
I ended up switching to dev branch where this is fixed
|
same here |
same here. career-180 shows the solution: public function minDate(Carbon|string|null|Closure $minDate): static |
same here |
Sorry guys, I have been quite swamped up. The fix is now released in 3.1.1 |
What happened?
There is an error when I use the Flatpickr component because the definition of minDate is not correct:
The error is with the line of: public function minDate(Carbon|string|null $minDate|Closure): static
It should be: public function minDate(Carbon|string|null|Closure $minDate): static
How to reproduce the bug
Just initiate the component in any filament form
Package Version
3
PHP Version
8.2
Laravel Version
11
Which operating systems does with happen with?
No response
Notes
No response
The text was updated successfully, but these errors were encountered: