Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
RobinBrackez opened this issue Jan 16, 2024 · 1 comment

Comments

@RobinBrackez
Copy link

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.

@RobinBrackez
Copy link
Author

Update: made a PR for this: #753

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

No branches or pull requests

1 participant