summaryrefslogtreecommitdiffstats
path: root/lib/public/icertificatemanager.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2015-04-15 15:56:10 +0200
committerLukas Reschke <lukas@owncloud.com>2015-04-20 13:00:02 +0200
commit1cc2aefa46a2db29b7bfb8c70fe3c9928d86da25 (patch)
tree1b9a7252fd415128724cf044eab5df9f16a51607 /lib/public/icertificatemanager.php
parent20a6073a9feb6b0eb4c004e58bb47912c447fef9 (diff)
downloadnextcloud-server-1cc2aefa46a2db29b7bfb8c70fe3c9928d86da25.tar.gz
nextcloud-server-1cc2aefa46a2db29b7bfb8c70fe3c9928d86da25.zip
Proper return types
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);