Implicitly marking parameter $entity as nullable is deprecated

Created on 2 September 2025, about 2 months ago

Problem/Motivation

In PHP 8.4 it is deprecated to add a default value of a parameter as NULL, but not making it nullable.

Steps to reproduce

Try to run the module with PHP 8.4.

Proposed resolution

Mark the parameter as accepting null.

Remaining tasks

Add type declarations to the other methods as well ?

User interface changes

none

API changes

n/a

Data model changes

n/a

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇵🇹Portugal joao.ramos.costa

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024