zbateson / mail-mime-parser

An email parser written in PHP
https://mail-mime-parser.org/
BSD 2-Clause "Simplified" License
458 stars 58 forks source link

Fixed some deprecation messages #237

Closed stollr closed 5 months ago

stollr commented 5 months ago

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 c1c4b6857cc35ca4b3be19e17d86a811d9296619 (PHPCSFixer).

zbateson commented 5 months ago

thank you, released in 2.4.1.