mirror of
https://github.com/friendica/friendica
synced 2025-04-25 07:50:10 +00:00
Fix errors in Model namespace
This commit is contained in:
parent
06e3051ad1
commit
2c801abb06
6 changed files with 99 additions and 105 deletions
|
@ -163,9 +163,6 @@ class GServer
|
|||
|
||||
/**
|
||||
* Checks if the given server array is unreachable for a long time now
|
||||
*
|
||||
* @param integer $gsid
|
||||
* @return boolean
|
||||
*/
|
||||
private static function isDefunct(array $gserver): bool
|
||||
{
|
||||
|
@ -506,7 +503,7 @@ class GServer
|
|||
*
|
||||
* @param UriInterface $dirtyUri
|
||||
*
|
||||
* @return UriInterface cleaned URI
|
||||
* @return string cleaned URI
|
||||
* @throws Exception
|
||||
*/
|
||||
public static function cleanUri(UriInterface $dirtyUri): string
|
||||
|
@ -1349,8 +1346,6 @@ class GServer
|
|||
*
|
||||
* @see https://github.com/jaywink/nodeinfo2
|
||||
*
|
||||
* @param string $nodeinfo_url address of the nodeinfo path
|
||||
*
|
||||
* @return array Server data
|
||||
*
|
||||
* @throws \Friendica\Network\HTTPException\InternalServerErrorException
|
||||
|
@ -1539,7 +1534,6 @@ class GServer
|
|||
/**
|
||||
* Fetches server data via an ActivityPub account with url of that server
|
||||
*
|
||||
* @param string $url URL of the given server
|
||||
* @param array $serverdata array with server data
|
||||
*
|
||||
* @return array server data
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue