php 8.1 Deprecated: Return type of…

Created on 26 January 2022, about 3 years ago
Updated 1 March 2023, about 2 years ago

Php 8.1 warning

Message when running php 8.1:

Deprecated: Return type of Drupal\cheeseburger_menu\CheeseburgerMenu::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in / - - -/modules/contrib/cheeseburger_menu/src/CheeseburgerMenu.php on line 219

Similar issues
https://www.drupal.org/project/crop/issues/3253220
https://www.drupal.org/project/drupal/issues/3224523

Thanks

🐛 Bug report
Status

Fixed

Version

5.0

Component

Code

Created by

🇸🇪Sweden hstrindb

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024