]> git.mxchange.org Git - friendica.git/blobdiff - src/Content/Widget.php
Fix PHPDoc comments project-wide
[friendica.git] / src / Content / Widget.php
index adf6545b43c4a83ad8d2f7e09dc7eb466adcfcf3..3c3af4f6ac37f225422fae4067bf7d57184f102b 100644 (file)
@@ -28,6 +28,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 +127,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 +171,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 +211,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 +252,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 +337,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)
        {