Skip to content

Commit

Permalink
[TASK] Fix incorrect annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
NamelessCoder committed Jul 3, 2023
1 parent 0be6c62 commit efe621c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Utility/RequestBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit efe621c

Please sign in to comment.