PHP 8.3: Deprecated: Return type of Drupal\oidc_menu\LinkList::current()

Created on 14 November 2024, about 1 month ago

Problem/Motivation

Running on PHP 8.3, the following deprecation is thrown:
Deprecated: Return type of Drupal\oidc_menu\LinkList::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in .../web/modules/contrib/oidc_menu/src/LinkList.php on line 209

Steps to reproduce

Load a page with the oidc_menu block on it. Make sure the server runs PHP 8.3.

📌 Task
Status

Active

Version

1.0

Component

Code

Created by

🇧🇪Belgium fernly

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

Comments & Activities

Production build 0.71.5 2024