summaryrefslogtreecommitdiffstats
path: root/lib/public/icertificatemanager.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/icertificatemanager.php')
-rw-r--r--lib/public/icertificatemanager.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/public/icertificatemanager.php b/lib/public/icertificatemanager.php
index ec88f32e291..3014cd8f633 100644
--- a/lib/public/icertificatemanager.php
+++ b/lib/public/icertificatemanager.php
@@ -38,7 +38,8 @@ interface ICertificateManager {
/**
* @param string $certificate the certificate data
* @param string $name the filename for the certificate
- * @return bool | \OCP\ICertificate
+ * @return \OCP\ICertificate
+ * @throws \Exception If the certificate could not get added
* @since 8.0.0
*/
public function addCertificate($certificate, $name);