Skip to content
Snippets Groups Projects
Commit 078baa6c authored by Stefan Bürk's avatar Stefan Bürk Committed by Georg Ringer
Browse files

[TASK] Avoid implicitly nullable class method parameter in `EXT:redirects`

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]

This prepares the way towards PHP 8.4 compatibility.

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

Resolves: #104184
Releases: main, 12.4, 11.5
Change-Id: I1e1a60a36ae2b5244bbd8c3cf963f2165077dbad
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/84866


Tested-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Tested-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Reviewed-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarGarvin Hicking <gh@faktor-e.de>
Reviewed-by: default avatarGarvin Hicking <gh@faktor-e.de>
Reviewed-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
parent 06043aeb
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment