Fix return value for OCP PHPDoc
This commit is contained in:
parent
a89bb1d383
commit
6856316122
|
@ -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)) {
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue