Skip to content
Snippets Groups Projects
Commit bf324b7f authored by Stefan Bürk's avatar Stefan Bürk
Browse files

[TASK] Remove superflous fallback guard in ContentObjectRenderer

In `ContentObjectRenderer->getImgResource()` null coalescing operator
has been used to guard type errors. That has been guarded by a early
array check and ensurance, therefore the guards are obselete. Remove
them !

Used command(s):

> Build/Scripts/runTests.sh -s phpstanGenerateBaseline

Resolves: #101982
Releases: main, 12.4
Change-Id: Ic178e29a5d99ded62738707dc285f2c031330fb3
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81119


Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarOliver Bartsch <bo@cedev.de>
Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarcore-ci <typo3@b13.com>
parent 5ccfc9a6
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