Deprecated return type in PHP 8.1

Created on 25 August 2022, almost 2 years ago
Updated 13 February 2023, over 1 year ago

As of PHP 8.1, built-in methods have explicit return types, and overloading methods (eg by implementing \ArrayAccess) must declare return type mixed to avoid a deprecation notice.

This affects xbbcode PluginCollectionArrayAdapter::offsetGet()

Note: xbbcode 4.0 is currently ostensibly compatible with PHP 7.1+ and PHP 8+. Depending on whether this bugfix is compatible with PHP 7, it may become necessary to release 4.1 with a raised PHP requirement.

πŸ› Bug report
Status

Fixed

Version

5.0

Component

Core

Created by

πŸ‡¨πŸ‡­Switzerland cburschka

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.69.0 2024