]> git.mxchange.org Git - friendica.git/blobdiff - src/Content/Nav.php
Fix PHPDoc comments project-wide
[friendica.git] / src / Content / Nav.php
index 2f516652deca2893d8924daa69d7370a2c654917..51cee03bf84a7ab5e03a7da10095e46f1135a85e 100644 (file)
@@ -42,6 +42,8 @@ class Nav
 
        /**
         * Set a menu item in navbar as selected
+        *
+        * @param string $item
         */
        public static function setSelected($item)
        {
@@ -50,6 +52,10 @@ class Nav
 
        /**
         * Build page header and site navigation bars
+        *
+        * @param  App    $a
+        * @return string
+        * @throws \Friendica\Network\HTTPException\InternalServerErrorException
         */
        public static function build(App $a)
        {
@@ -114,12 +120,13 @@ class Nav
         * Prepares a list of navigation links
         *
         * @brief Prepares a list of navigation links
-        * @param App $a
+        * @param  App   $a
         * @return array Navigation links
-        *      string 'sitelocation' => The webbie (username@site.com)
-        *      array 'nav' => Array of links used in the nav menu
-        *      string 'banner' => Formatted html link with banner image
-        *      array 'userinfo' => Array of user information (name, icon)
+        *    string 'sitelocation' => The webbie (username@site.com)
+        *    array 'nav' => Array of links used in the nav menu
+        *    string 'banner' => Formatted html link with banner image
+        *    array 'userinfo' => Array of user information (name, icon)
+        * @throws \Friendica\Network\HTTPException\InternalServerErrorException
         */
        private static function getInfo(App $a)
        {