Fix return value for OCP PHPDoc

This commit is contained in:
Morris Jobke 2015-06-17 15:47:45 +02:00
parent a89bb1d383
commit 6856316122
2 changed files with 2 additions and 2 deletions

View File

@ -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)) {

View File

@ -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);