Skip to content
Snippets Groups Projects
Commit 23a7466a authored by Torben Hansen's avatar Torben Hansen Committed by Oliver Bartsch
Browse files

[TASK] Remove unnecessary typecast in ext:adminpanel


The return type of `getConfigurationOption()` is defined as
boolean, so the typecast can safely be removed.

Resolves: #101412
Releases: main
Signed-off-by: default avatarTorben Hansen <derhansen@gmail.com>
Change-Id: I4408e15c6bb39527ee2ba9b119dbb8d85aff3fb3
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/80113


Reviewed-by: default avatarStefan B�rk <stefan@buerk.tech>
Reviewed-by: default avatarSybille Peters <sypets@gmx.de>
Tested-by: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarStefan B�rk <stefan@buerk.tech>
Tested-by: default avatarSybille Peters <sypets@gmx.de>
parent 7a6531d1
Branches
Tags
No related merge requests found
......@@ -59,7 +59,7 @@ class TypoScriptWaterfall extends AbstractSubModule implements RequestEnricherIn
GeneralUtility::makeInstance(Context::class)->setAspect('typoscript', GeneralUtility::makeInstance(TypoScriptAspect::class, true));
$request = $request->withAttribute('noCache', true);
}
$this->getTimeTracker()->LR = (bool)$this->getConfigurationOption('LR');
$this->getTimeTracker()->LR = $this->getConfigurationOption('LR');
return $request;
}
......
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