Project

General

Profile

Actions

Task #104188

closed

Avoid implicitly nullable class method parameter in `reactions`

Added by Stefan Bürk 5 months ago. Updated 5 months ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Code Cleanup
Target version:
-
Start date:
2024-06-23
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

With PHP 8.4 marking method parameter implicitly nullable
is depreacted and will emit a `E_DEPRECATED` warning. One
recommended way to resolve this, is making it explicitly
nullable using the `?` nullable operator. [1]

[1] https://php.watch/versions/8.4/implicitly-marking-parameter-type-nullable-deprecated

Actions

Also available in: Atom PDF