Skip to content

Conversation

MohmmedAshraf
Copy link

This PR fixes #29

@StanMenten99
Copy link

Up.

@@ -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)

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)

`

@jgsamblas
Copy link

Hi,

Do you know if this fix is going to be released soon?

Thanks

@Jaspur
Copy link

Jaspur commented May 12, 2022

@jackabox when released?

@sutcliffe121
Copy link

Any update on a release @jackabox ?

@sutcliffe121
Copy link

I'm not sure its recommended, but I included this commit by updating my composer.json to:
"jackabox/nova-duplicate-field": "dev-master#59d530bb09ad8994f8bc04de5d8868d96dd1fbb3",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[PHP8] Type mixed cannot be marked as nullable since mixed already includes null
6 participants