-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
Fix php 8 issue #30
base: master
Are you sure you want to change the base?
Fix php 8 issue #30
Conversation
Up. |
src/DuplicateField.php
Outdated
@@ -14,7 +14,7 @@ class DuplicateField extends Field | |||
*/ | |||
public $component = 'duplicate-field'; | |||
|
|||
public function __construct(string $name, ? string $attribute = null, ? mixed $resolveCallback = null) | |||
public function __construct(string $name, ? string $attribute = null, ? $resolveCallback = null) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change to :
`
public function __construct(string $name, ? string $attribute = null, $resolveCallback = null)
`
Hi, Do you know if this fix is going to be released soon? Thanks |
@jackabox when released? |
Any update on a release @jackabox ? |
I'm not sure its recommended, but I included this commit by updating my composer.json to: |
This PR fixes #29