Change return type

This commit is contained in:
Art4 2024-12-14 14:58:19 +00:00
parent 6a2e8739d1
commit 59404752f9

View file

@ -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('')