PHP 8.1 compatibility for PluginMethodIterator

Created on 5 January 2023, almost 2 years ago
Updated 7 February 2024, 10 months ago

Problem/Motivation

Several methods of crumbs_PluginSystem_PluginMethodIterator should either be compatible with Iterator methods or or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

Steps to reproduce

Load page where breadcrumb is rendered.

Proposed resolution

Use the #[\ReturnTypeWillChange] attribute. See https://php.watch/versions/8.1/ReturnTypeWillChange

πŸ› Bug report
Status

Needs review

Version

2.0

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium jummonk

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