From efe621cd5d5adf93d26480e2919e3b2d0f644b12 Mon Sep 17 00:00:00 2001 From: Claus Due Date: Mon, 3 Jul 2023 14:19:13 +0200 Subject: [PATCH] [TASK] Fix incorrect annotation --- Classes/Utility/RequestBuilder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/Utility/RequestBuilder.php b/Classes/Utility/RequestBuilder.php index 3b952cfc9..4be1310a6 100644 --- a/Classes/Utility/RequestBuilder.php +++ b/Classes/Utility/RequestBuilder.php @@ -75,7 +75,7 @@ public function buildRequestFor( public function getServerRequest(): ServerRequest { - /** @var ServerRequest|null $request */ + /** @var ServerRequest $request */ $request = $GLOBALS['TYPO3_REQUEST'] ?? (new ServerRequest())->withAttribute( 'applicationType', defined('TYPO3_REQUESTTYPE') ? constant('TYPO3_REQUESTTYPE') : SystemEnvironmentBuilder::REQUESTTYPE_FE