Project

General

Profile

Actions

Task #104247

closed

Avoid implicitly nullable class method parameter in `EXT:extensionmanager`

Added by Stefan Bürk 2 days ago. Updated 2 days ago.

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

100%

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

Description

With PHP 8.4 marking method parameter implicitly nullable
is deprecated and will emit a `E_DEPRECATED` warning. One
recommended way to resolve this, is making it explicitly
nullable using the `?` nullable operator or adding a null
tyype to an union type definition. [1]

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

Actions

Also available in: Atom PDF