mirror of
https://github.com/friendica/friendica
synced 2024-12-22 18:40:17 +00:00
Change return type
This commit is contained in:
parent
6a2e8739d1
commit
59404752f9
1 changed files with 2 additions and 2 deletions
|
@ -503,10 +503,10 @@ class GServer
|
||||||
*
|
*
|
||||||
* @param UriInterface $dirtyUri
|
* @param UriInterface $dirtyUri
|
||||||
*
|
*
|
||||||
* @return string cleaned URI
|
* @return UriInterface cleaned URI
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
public static function cleanUri(UriInterface $dirtyUri): string
|
public static function cleanUri(UriInterface $dirtyUri): UriInterface
|
||||||
{
|
{
|
||||||
return $dirtyUri
|
return $dirtyUri
|
||||||
->withUserInfo('')
|
->withUserInfo('')
|
||||||
|
|
Loading…
Reference in a new issue