Skip to content
Snippets Groups Projects
Commit 5747c5b2 authored by Benni Mack's avatar Benni Mack Committed by Oliver Bartsch
Browse files

[TASK] Avoid int-casting of TSFE->type

Since Site Handling was introduced in TYPO3 v9,
TSFE->type is always set in the constructor and cast
to "int".

The "$TSFE->type" property is not itself marked as "int"
type as there might be more usages to "type" in future
v12 iterations.

Resolves: #96967
Releases: main
Change-Id: Ica26df81a9c7b554b5d27f9a6a46d68e467f0902
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/73601


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