aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-06-17 15:47:45 +0200
committerMorris Jobke <hey@morrisjobke.de>2015-06-17 15:47:45 +0200
commit6856316122a9aad1fe5a3068f20eb40a3ed80c10 (patch)
treebce6b537e6eb233e05fce96edf70e469779011bd /lib
parenta89bb1d3839b80f8846b0ed9e462a42065d4ad9f (diff)
downloadnextcloud-server-6856316122a9aad1fe5a3068f20eb40a3ed80c10.tar.gz
nextcloud-server-6856316122a9aad1fe5a3068f20eb40a3ed80c10.zip
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 b524b3df1b1..497f43206ff 100644
--- a/lib/private/server.php
+++ b/lib/private/server.php
@@ -786,7 +786,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
*/
public function getCertificateManager($uid = null) {
if (is_null($uid)) {
diff --git a/lib/public/iservercontainer.php b/lib/public/iservercontainer.php
index 51bd00c6b6f..27702803207 100644
--- a/lib/public/iservercontainer.php
+++ b/lib/public/iservercontainer.php
@@ -316,7 +316,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
* @since 8.0.0
*/
public function getCertificateManager($userId = null);