Skip to content

Fix php 8 issue - #30

Open
MohmmedAshraf wants to merge 2 commits into
jackabox:masterfrom
MohmmedAshraf:fix-php-8-issues
Open

Fix php 8 issue#30
MohmmedAshraf wants to merge 2 commits into
jackabox:masterfrom
MohmmedAshraf:fix-php-8-issues

Conversation

@MohmmedAshraf

Copy link
Copy Markdown

This PR fixes #29

@StanMenten99

Copy link
Copy Markdown

Up.

Comment thread src/DuplicateField.php Outdated
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)

Copy link
Copy Markdown

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
Copy Markdown

Hi,

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

Thanks

@Jaspur

Jaspur commented May 12, 2022

Copy link
Copy Markdown

@jackabox when released?

@sutcliffe121

Copy link
Copy Markdown

Any update on a release @jackabox ?

@sutcliffe121

Copy link
Copy Markdown

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