Fix return value for OCP PHPDoc
This commit is contained in:
parent
a89bb1d383
commit
6856316122
2 changed files with 2 additions and 2 deletions
|
@ -786,7 +786,7 @@ class Server extends SimpleContainer implements IServerContainer {
|
||||||
* Get the certificate manager for the user
|
* Get the certificate manager for the user
|
||||||
*
|
*
|
||||||
* @param string $uid (optional) if not specified the current loggedin user is used
|
* @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) {
|
public function getCertificateManager($uid = null) {
|
||||||
if (is_null($uid)) {
|
if (is_null($uid)) {
|
||||||
|
|
|
@ -316,7 +316,7 @@ interface IServerContainer {
|
||||||
* Get the certificate manager for the user
|
* Get the certificate manager for the user
|
||||||
*
|
*
|
||||||
* @param string $userId (optional) if not specified the current loggedin user is used
|
* @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
|
* @since 8.0.0
|
||||||
*/
|
*/
|
||||||
public function getCertificateManager($userId = null);
|
public function getCertificateManager($userId = null);
|
||||||
|
|
Loading…
Reference in a new issue