Skip to content

Fixed nullable type declaration for PHP 8.4 compatibility#1

Open
jbrada wants to merge 1 commit intoMagestyApps:masterfrom
jbrada:master
Open

Fixed nullable type declaration for PHP 8.4 compatibility#1
jbrada wants to merge 1 commit intoMagestyApps:masterfrom
jbrada:master

Conversation

@jbrada
Copy link
Copy Markdown

@jbrada jbrada commented Jan 1, 2026

Getting a deprecation warning during setup:di:compile on PHP 8.4 - the $name parameter in the constructor needs an explicit nullable type declaration.

Changed string $name = null to ?string $name = null to follow the updated PHP standard.

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.

1 participant