Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-06-17 16:47:45 +0300
committerMorris Jobke <hey@morrisjobke.de>2015-06-17 17:56:08 +0300
commit855ae3f5d2b382c2bc17862bd072f9e68fe12a91 (patch)
treee49e0c77c3fba22b348b4436e64980336f7c52fc /lib
parent7759a9118cfd30bf94593cfe350108f573fb3644 (diff)
Fix return value for OCP PHPDoc
Diffstat (limited to 'lib')
-rw-r--r--lib/private/server.php2
-rw-r--r--lib/public/iservercontainer.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/server.php b/lib/private/server.php
index 15c33e1905f..957de1450b2 100644
--- a/lib/private/server.php
+++ b/lib/private/server.php
@@ -634,7 +634,7 @@ class Server extends SimpleContainer implements IServerContainer {
* Get the certificate manager for the user
*
* @param string $uid (optional) if not specified the current loggedin user is used
- * @return \OCP\ICertificateManager
+ * @return \OCP\ICertificateManager | null if $uid is null and no user is logged in
*/
function getCertificateManager($uid = null) {
if (is_null($uid)) {
diff --git a/lib/public/iservercontainer.php b/lib/public/iservercontainer.php
index a0cccc07ac8..1534f3a5c82 100644
--- a/lib/public/iservercontainer.php
+++ b/lib/public/iservercontainer.php
@@ -252,7 +252,7 @@ interface IServerContainer {
* Get the certificate manager for the user
*
* @param string $userId (optional) if not specified the current loggedin user is used
- * @return \OCP\ICertificateManager
+ * @return \OCP\ICertificateManager | null if $userId is null and no user is logged in
*/
function getCertificateManager($userId = null);