summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBennet Becker <dev@bennet.cc>2023-01-03 16:23:41 +0100
committerBennet Becker <dev@bennet.cc>2023-01-03 16:23:41 +0100
commitc8bde160cd2c40baffca71a45b77d62dda33e795 (patch)
tree42948cd14735791b7a32bf113882fa5ef99a136f
parent5a1cc8de9b13298d28afd6f1f1be02fafe2428b0 (diff)
downloadnextcloud-server-c8bde160cd2c40baffca71a45b77d62dda33e795.tar.gz
nextcloud-server-c8bde160cd2c40baffca71a45b77d62dda33e795.zip
fix missing class in NewUserMailHelper and static code analysis errors
Signed-off-by: Bennet Becker <dev@bennet.cc>
-rw-r--r--apps/settings/lib/Mailer/NewUserMailHelper.php2
-rw-r--r--lib/public/Mail/Headers/AutoSubmitted.php2
-rw-r--r--lib/public/Mail/IMessage.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/apps/settings/lib/Mailer/NewUserMailHelper.php b/apps/settings/lib/Mailer/NewUserMailHelper.php
index bfa34e1746a..b91aea4391b 100644
--- a/apps/settings/lib/Mailer/NewUserMailHelper.php
+++ b/apps/settings/lib/Mailer/NewUserMailHelper.php
@@ -35,7 +35,7 @@ use OCP\IConfig;
use OCP\IURLGenerator;
use OCP\IUser;
use OCP\L10N\IFactory;
-use OCP\Mail\Header\AutoSubmitted;
+use OCP\Mail\Headers\AutoSubmitted;
use OCP\Mail\IEMailTemplate;
use OCP\Mail\IMailer;
use OCP\Security\ICrypto;
diff --git a/lib/public/Mail/Headers/AutoSubmitted.php b/lib/public/Mail/Headers/AutoSubmitted.php
index 73bd35e129e..21df18dd918 100644
--- a/lib/public/Mail/Headers/AutoSubmitted.php
+++ b/lib/public/Mail/Headers/AutoSubmitted.php
@@ -39,7 +39,7 @@ final class AutoSubmitted {
/**
* Name of the Header as used in the final message later
- *
+ *
* @var string
* @since 26.0.0
*/
diff --git a/lib/public/Mail/IMessage.php b/lib/public/Mail/IMessage.php
index c53ab12bbb7..994d32603e9 100644
--- a/lib/public/Mail/IMessage.php
+++ b/lib/public/Mail/IMessage.php
@@ -98,7 +98,7 @@ interface IMessage {
* Add the Auto-Submitted header to the email, preventing most automated
* responses to automated messages.
*
- * @param AutoSubmitted::VALUE_* $value (one of AutoSubmitted::VALUE_NO, AutoSubmitted::VALUE_AUTO_GENERATED, AutoSubmitted::VALUE_AUTO_REPLIED)
+ * @param Headers\AutoSubmitted::VALUE_* $value (one of AutoSubmitted::VALUE_NO, AutoSubmitted::VALUE_AUTO_GENERATED, AutoSubmitted::VALUE_AUTO_REPLIED)
* @return IMessage
* @since 26.0.0
*/