From: Joas Schilling Date: Wed, 10 Dec 2014 14:18:06 +0000 (+0100) Subject: Add type of the variables to the docs X-Git-Tag: v8.0.0alpha1~120^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=bef7392c4c961d540b8a7687b3a7d975db058216;p=nextcloud-server.git Add type of the variables to the docs --- diff --git a/lib/private/allconfig.php b/lib/private/allconfig.php index e20f3698258..d4b4ed6fb6a 100644 --- a/lib/private/allconfig.php +++ b/lib/private/allconfig.php @@ -332,9 +332,9 @@ class AllConfig implements \OCP\IConfig { /** * Fetches a mapped list of userId -> value, for a specified app and key and a list of user IDs. * - * @param $appName app to get the value for - * @param $key the key to get the value for - * @param $userIds the user IDs to fetch the values for + * @param string $appName app to get the value for + * @param string $key the key to get the value for + * @param array $userIds the user IDs to fetch the values for * @return array Mapped values: userId => value */ public function getUserValueForUsers($appName, $key, $userIds) { diff --git a/lib/public/iconfig.php b/lib/public/iconfig.php index fe0f1273a80..a1952ef8f84 100644 --- a/lib/public/iconfig.php +++ b/lib/public/iconfig.php @@ -128,9 +128,9 @@ interface IConfig { /** * Fetches a mapped list of userId -> value, for a specified app and key and a list of user IDs. * - * @param $appName app to get the value for - * @param $key the key to get the value for - * @param $userIds the user IDs to fetch the values for + * @param string $appName app to get the value for + * @param string $key the key to get the value for + * @param array $userIds the user IDs to fetch the values for * @return array Mapped values: userId => value */ public function getUserValueForUsers($appName, $key, $userIds);