[Pkg-owncloud-commits] [owncloud] 44/62: Fix return value for OCP PHPDoc
David Prévot
taffit at moszumanska.debian.org
Tue Jun 23 23:39:37 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to annotated tag v8.0.5beta
in repository owncloud.
commit 855ae3f5d2b382c2bc17862bd072f9e68fe12a91
Author: Morris Jobke <hey at morrisjobke.de>
Date: Wed Jun 17 15:47:45 2015 +0200
Fix return value for OCP PHPDoc
---
lib/private/server.php | 2 +-
lib/public/iservercontainer.php | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/private/server.php b/lib/private/server.php
index 15c33e1..957de145 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 a0cccc0..1534f3a 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);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list