]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/PermissionSet.php
Fix PHPDoc comments project-wide
[friendica.git] / src / Model / PermissionSet.php
index ab6c46afb24ddf5c383dfd1dcfeac73da5957584..3148d4da03360330f7127b729e7a56f98788838d 100644 (file)
@@ -16,7 +16,8 @@ class PermissionSet extends BaseObject
         * Fetch the id of a given permission set. Generate a new one when needed
         *
         * @param array $postarray The array from an item, picture or event post
-        * @return id
+        * @return int id
+        * @throws \Exception
         */
        public static function fetchIDForPost(&$postarray)
        {
@@ -69,6 +70,7 @@ class PermissionSet extends BaseObject
         * @param array   $groups     Possibly previously fetched group ids for that contact
         *
         * @return array of permission set ids.
+        * @throws \Exception
         */
 
        static public function get($uid, $contact_id, $groups = null)