X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FContent%2FWidget.php;h=b7fa5ab4e8903f1e42c3e8a5e67405206acea80b;hb=58c8959da0ece9a23966b315310a3962542bc7f4;hp=adf6545b43c4a83ad8d2f7e09dc7eb466adcfcf3;hpb=6aebece494e400a8c9795c1f4c286d7b3d6fd2e5;p=friendica.git diff --git a/src/Content/Widget.php b/src/Content/Widget.php index adf6545b43..b7fa5ab4e8 100644 --- a/src/Content/Widget.php +++ b/src/Content/Widget.php @@ -4,8 +4,6 @@ */ namespace Friendica\Content; -use Friendica\Content\ContactSelector; -use Friendica\Content\Feature; use Friendica\Core\Addon; use Friendica\Core\Config; use Friendica\Core\L10n; @@ -28,6 +26,8 @@ class Widget * Return the follow widget * * @param string $value optional, default empty + * @return string + * @throws \Friendica\Network\HTTPException\InternalServerErrorException */ public static function follow($value = "") { @@ -125,6 +125,8 @@ class Widget * * @param string $baseurl baseurl * @param string $selected optional, default empty + * @return string + * @throws \Friendica\Network\HTTPException\InternalServerErrorException */ public static function networks($baseurl, $selected = '') { @@ -167,6 +169,8 @@ class Widget * * @param string $baseurl baseurl * @param string $selected optional, default empty + * @return string|void + * @throws \Friendica\Network\HTTPException\InternalServerErrorException */ public static function fileAs($baseurl, $selected = '') { @@ -205,6 +209,8 @@ class Widget * * @param string $baseurl baseurl * @param string $selected optional, default empty + * @return string|void + * @throws \Friendica\Network\HTTPException\InternalServerErrorException */ public static function categories($baseurl, $selected = '') { @@ -244,6 +250,8 @@ class Widget * Return common friends visitor widget * * @param string $profile_uid uid + * @return string|void + * @throws \Friendica\Network\HTTPException\InternalServerErrorException */ public static function commonFriendsVisitor($profile_uid) { @@ -327,8 +335,10 @@ class Widget * Insert a tag cloud widget for the present profile. * * @brief Insert a tag cloud widget for the present profile. - * @param int $limit Max number of displayed tags. + * @param int $limit Max number of displayed tags. * @return string HTML formatted output. + * @throws \Friendica\Network\HTTPException\InternalServerErrorException + * @throws \ImagickException */ public static function tagCloud($limit = 50) {