Skip to content

fix: resolve PHP 8.4 implicitly nullable parameter deprecation #408

Description

@iruzevic

Steps to reproduce the behavior

PHP 8.4 deprecated implicitly nullable parameters. This package contains 1 occurrence where a typed parameter has a null default but the type doesn't explicitly include null.

Fix: SomeType $param = null -> ?SomeType $param = null.

No behavior change, only type signature correction.

Expected behavior

no notice of deprecations

Actual behavior

throws deprecation notice

Code snippets

Php version

8.4

Library version

2.9.2

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions