Skip to content

Commit 2b3fe4e

Browse files
committed
[BUGFIX] Prevent typehint exception
Related: #614
1 parent ac3014c commit 2b3fe4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Classes/Utility/FrontendUtility.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ public static function getPropertyFromLoggedInFrontendUser(string $propertyName
186186
public static function getDomainFromUri(string $uri): string
187187
{
188188
$uriParts = parse_url($uri);
189-
return $uriParts['host'];
189+
return (string)$uriParts['host'];
190190
}
191191

192192
/**

0 commit comments

Comments
 (0)