Skip to content

Fix nullable type declarations#122

Merged
LKaemmerling merged 1 commit intoLKDevelopment:masterfrom
Jubeki:php84
Dec 7, 2024
Merged

Fix nullable type declarations#122
LKaemmerling merged 1 commit intoLKDevelopment:masterfrom
Jubeki:php84

Conversation

@Jubeki
Copy link
Copy Markdown
Contributor

@Jubeki Jubeki commented Nov 28, 2024

Replaces #119

This PR adds the question mark or null to the parameter types to to avoid the deprecation warning in PHP 8.4.

This was done with the help of laravel/pint and the following configuration in the pint.json:

{
    "preset": "empty",
    "rules": {
        "nullable_type_declaration_for_default_null_value": true
    }
}

@LKaemmerling LKaemmerling merged commit aec81bb into LKDevelopment:master Dec 7, 2024
@LKaemmerling
Copy link
Copy Markdown
Collaborator

LGTM thank you!

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.

2 participants