diff --git a/src/Model/GServer.php b/src/Model/GServer.php index c458e379b4..a0c1be7bfc 100644 --- a/src/Model/GServer.php +++ b/src/Model/GServer.php @@ -503,10 +503,10 @@ class GServer * * @param UriInterface $dirtyUri * - * @return string cleaned URI + * @return UriInterface cleaned URI * @throws Exception */ - public static function cleanUri(UriInterface $dirtyUri): string + public static function cleanUri(UriInterface $dirtyUri): UriInterface { return $dirtyUri ->withUserInfo('')