Skip to content

Deprecate notice in PHP8.3 on the TreeNodeMethodsTrait method offsetGet() #752

@RobinBrackez

Description

@RobinBrackez

There's a deprecate notice when you run PHP8.3 with this bundle:

Deprecated: Return type of offsetGet(mixed $offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice.

I guess there can be an easy fix for this in file TreeNodeMethodsTrait.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions