mirror of
https://github.com/friendica/friendica
synced 2025-04-25 03:10:11 +00:00
Fix docblocks types
This commit is contained in:
parent
10b72b0e9e
commit
916236ce2f
12 changed files with 33 additions and 29 deletions
|
@ -197,7 +197,7 @@ class Contact extends BaseObject
|
|||
* up or some other transient event and that there's a possibility we could recover from it.
|
||||
*
|
||||
* @param array $contact contact to mark for archival
|
||||
* @return type
|
||||
* @return null
|
||||
*/
|
||||
public static function markForArchival(array $contact)
|
||||
{
|
||||
|
|
|
@ -636,7 +636,7 @@ class GContact
|
|||
/**
|
||||
* @brief Replace alternate OStatus user format with the primary one
|
||||
*
|
||||
* @param arr $contact contact array (called by reference)
|
||||
* @param array $contact contact array (called by reference)
|
||||
* @return void
|
||||
*/
|
||||
public static function fixAlternateContactAddress(&$contact)
|
||||
|
@ -656,7 +656,7 @@ class GContact
|
|||
/**
|
||||
* @brief Fetch the gcontact id, add an entry if not existed
|
||||
*
|
||||
* @param arr $contact contact array
|
||||
* @param array $contact contact array
|
||||
*
|
||||
* @return bool|int Returns false if not found, integer if contact was found
|
||||
*/
|
||||
|
@ -747,7 +747,7 @@ class GContact
|
|||
/**
|
||||
* @brief Updates the gcontact table from a given array
|
||||
*
|
||||
* @param arr $contact contact array
|
||||
* @param array $contact contact array
|
||||
*
|
||||
* @return bool|int Returns false if not found, integer if contact was found
|
||||
*/
|
||||
|
@ -908,7 +908,7 @@ class GContact
|
|||
/**
|
||||
* @brief Updates the gcontact entry from probe
|
||||
*
|
||||
* @param str $url profile link
|
||||
* @param string $url profile link
|
||||
* @return void
|
||||
*/
|
||||
public static function updateFromProbe($url)
|
||||
|
@ -974,7 +974,7 @@ class GContact
|
|||
*
|
||||
* If the "Statistics" plugin is enabled (See http://gstools.org/ for details) we query user data with this.
|
||||
*
|
||||
* @param str $server Server address
|
||||
* @param string $server Server address
|
||||
* @return void
|
||||
*/
|
||||
public static function fetchGsUsers($server)
|
||||
|
|
|
@ -131,7 +131,7 @@ class Group extends BaseObject
|
|||
/**
|
||||
* @brief Mark a group as deleted
|
||||
*
|
||||
* @param type $gid
|
||||
* @param int $gid
|
||||
* @return boolean
|
||||
*/
|
||||
public static function remove($gid) {
|
||||
|
@ -176,9 +176,9 @@ class Group extends BaseObject
|
|||
*
|
||||
* @deprecated Use Group::remove instead
|
||||
*
|
||||
* @param type $uid
|
||||
* @param type $name
|
||||
* @return type
|
||||
* @param int $uid
|
||||
* @param string $name
|
||||
* @return bool
|
||||
*/
|
||||
public static function removeByName($uid, $name) {
|
||||
$return = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue