aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Mail/IMailer.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/Mail/IMailer.php')
-rw-r--r--lib/public/Mail/IMailer.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/public/Mail/IMailer.php b/lib/public/Mail/IMailer.php
index 93efdce1a2d..277f7863184 100644
--- a/lib/public/Mail/IMailer.php
+++ b/lib/public/Mail/IMailer.php
@@ -14,7 +14,7 @@ namespace OCP\Mail;
*
* Example usage:
*
- * $mailer = \OC::$server->get(\OCP\Mail\IMailer::class);
+ * $mailer = \OCP\Server::get(\OCP\Mail\IMailer::class);
* $message = $mailer->createMessage();
* $message->setSubject('Your Subject');
* $message->setFrom(['cloud@domain.org' => 'Nextcloud Notifier']);
@@ -69,9 +69,9 @@ interface IMailer {
*
* @param IMessage $message Message to send
* @return string[] Array with failed recipients. Be aware that this depends on the used mail backend and
- * therefore should be considered
+ * therefore should be considered
* @throws \Exception In case it was not possible to send the message. (for example if an invalid mail address
- * has been supplied.)
+ * has been supplied.)
* @since 8.1.0
*/
public function send(IMessage $message): array;