]> git.mxchange.org Git - friendica.git/commitdiff
Change return type
authorArt4 <art4@wlabs.de>
Sat, 14 Dec 2024 14:58:19 +0000 (14:58 +0000)
committerArt4 <art4@wlabs.de>
Sat, 14 Dec 2024 14:58:19 +0000 (14:58 +0000)
src/Model/GServer.php

index c458e379b4b066b2b5e5af1be0042445ded00808..a0c1be7bfcc9e6f9f36f0896be96d1fd11a36b68 100644 (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('')