diff options
author | Bart Visscher <bartv@thisnet.nl> | 2014-02-28 13:53:41 +0100 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2014-02-28 13:53:41 +0100 |
commit | 35a8dfb2fa7970098e6677f7b93b7d782d5df7f0 (patch) | |
tree | 8ede91547e256ece30635c7ab04d9bb08f63e671 /lib/private/share/mailnotifications.php | |
parent | 89e0763d3d511d2da878db43c89300c51850b0f3 (diff) | |
download | nextcloud-server-35a8dfb2fa7970098e6677f7b93b7d782d5df7f0.tar.gz nextcloud-server-35a8dfb2fa7970098e6677f7b93b7d782d5df7f0.zip |
More PHPDoc fixes, using scrutinizer patches as hints
Diffstat (limited to 'lib/private/share/mailnotifications.php')
-rw-r--r-- | lib/private/share/mailnotifications.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/private/share/mailnotifications.php b/lib/private/share/mailnotifications.php index 360376294cc..afbf35aa397 100644 --- a/lib/private/share/mailnotifications.php +++ b/lib/private/share/mailnotifications.php @@ -30,7 +30,6 @@ class MailNotifications { /** * - * @param string $recipient user id * @param string $sender user id (if nothing is set we use the currently logged-in user) */ public function __construct($sender = null) { @@ -113,7 +112,7 @@ class MailNotifications { * @param string $filename the shared file * @param string $link the public link * @param int $expiration expiration date (timestamp) - * @return mixed $result true or error message + * @return string|boolean $result true or error message */ public function sendLinkShareMail($recipient, $filename, $link, $expiration) { $subject = (string)$this->l->t('%s shared »%s« with you', array($this->senderDisplayName, $filename)); |