X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModel%2FPermissionSet.php;h=3148d4da03360330f7127b729e7a56f98788838d;hb=08da1ed038c9b193ded0ca70b3b1c1085bb7e90a;hp=ab6c46afb24ddf5c383dfd1dcfeac73da5957584;hpb=94eca7704130822bf83bb5fee6930dee6bae81dd;p=friendica.git diff --git a/src/Model/PermissionSet.php b/src/Model/PermissionSet.php index ab6c46afb2..3148d4da03 100644 --- a/src/Model/PermissionSet.php +++ b/src/Model/PermissionSet.php @@ -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)