X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModel%2FGContact.php;h=43375b9afb6692bc82d32f01ef837123aca701e1;hb=6071fe81b410ec6a971d0e45379a51809cbeec71;hp=57259651c7916adb1e615605b19fafdacf086718;hpb=af9067a381430b520a155bd3803a338d44cfaace;p=friendica.git diff --git a/src/Model/GContact.php b/src/Model/GContact.php index 57259651c7..43375b9afb 100644 --- a/src/Model/GContact.php +++ b/src/Model/GContact.php @@ -242,6 +242,7 @@ class GContact * @param integer $uid id * @param integer $cid id * @return integer + * @throws Exception */ public static function countCommonFriends($uid, $cid) { @@ -269,6 +270,7 @@ class GContact * @param integer $uid id * @param integer $zcid zcid * @return integer + * @throws Exception */ public static function countCommonFriendsZcid($uid, $zcid) { @@ -295,6 +297,7 @@ class GContact * @param integer $limit optional, default 9999 * @param boolean $shuffle optional, default false * @return object + * @throws Exception */ public static function commonFriends($uid, $cid, $start = 0, $limit = 9999, $shuffle = false) { @@ -333,6 +336,7 @@ class GContact * @param integer $limit optional, default 9999 * @param boolean $shuffle optional, default false * @return object + * @throws Exception */ public static function commonFriendsZcid($uid, $zcid, $start = 0, $limit = 9999, $shuffle = false) { @@ -362,6 +366,7 @@ class GContact * @param integer $uid user * @param integer $cid cid * @return integer + * @throws Exception */ public static function countAllFriends($uid, $cid) { @@ -387,6 +392,7 @@ class GContact * @param integer $start optional, default 0 * @param integer $limit optional, default 80 * @return array + * @throws Exception */ public static function allFriends($uid, $cid, $start = 0, $limit = 80) { @@ -522,8 +528,6 @@ class GContact */ public static function updateSuggestions() { - $a = \get_app(); - $done = []; /// @TODO Check if it is really neccessary to poll the own server @@ -1053,6 +1057,7 @@ class GContact /** * @return string + * @throws Exception */ public static function getRandomUrl() {