Skip to content
Snippets Groups Projects
Commit 241e1d86 authored by Thomas Hohn's avatar Thomas Hohn Committed by Benni Mack
Browse files

[BUGFIX] Fix PHP 8 warning in TypoLinkCodecService

Added string cast before trimming $typoLink. Changed annotation
to be string|null. With TYPO3 v13 string should be added to the
methods signature and cast removed.
In addition fixed some potential calls that could have sent null
to the method, prophylactically.

Resolves: #99975
Releases: main, 11.5
Change-Id: I8cbafa51d96e3ab35d39855831803897b4ff0035
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/77956


Tested-by: default avatarcore-ci <typo3@b13.com>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarBenni Mack <benni@typo3.org>
parent c44acaaa
Branches
Tags
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