Skip to content
New issue

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

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

Already on GitHub? # to your account

Fixed some deprecation messages #237

Merged
merged 1 commit into from
Apr 28, 2024
Merged

Conversation

stollr
Copy link
Contributor

@stollr stollr commented Apr 24, 2024

Fixed the following two deprecation messages, which are reported by Symfony's deprecation helper:

1x: Method "Pimple\Container::offsetGet()" might add "mixed" as a native return type declaration in the future. Do the same in child class "ZBateson\MailMimeParser\Container" now to avoid errors or add an explicit @return annotation to suppress this message.

1x: Method "ArrayAccess::offsetGet()" might add "mixed" as a native return type declaration in the future. Do the same in implementation "ZBateson\MailMimeParser\Message\PartChildrenContainer" now to avoid errors or add an explicit @return annotation to suppress this message.

The return annotations were already added by #197, but reverted again with commit c1c4b68 (PHPCSFixer).

@zbateson zbateson merged commit ff49e02 into zbateson:2.0 Apr 28, 2024
14 checks passed
@zbateson
Copy link
Owner

zbateson commented Apr 28, 2024

thank you, released in 2.4.1.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants