Skip to content

Commit 5778c62

Browse files
Cleanup fix rector findings
1 parent f734851 commit 5778c62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Classes/Utility/Factory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ public static function getSupplier(array $ignoreKeys = []): Tx_T3rest_Model_Supp
107107
public static function getCurrentSiteLanguage(): ?TYPO3\CMS\Core\Site\Entity\SiteLanguage
108108
{
109109
if ($GLOBALS['TYPO3_REQUEST'] instanceof Psr\Http\Message\ServerRequestInterface) {
110-
return $GLOBALS['TYPO3_REQUEST']->getAttribute('language', null);
110+
return $GLOBALS['TYPO3_REQUEST']->getAttribute('language');
111111
}
112112

113113
return null;

0 commit comments

Comments
 (0)