From c8bde160cd2c40baffca71a45b77d62dda33e795 Mon Sep 17 00:00:00 2001 From: Bennet Becker Date: Tue, 3 Jan 2023 16:23:41 +0100 Subject: [PATCH] fix missing class in NewUserMailHelper and static code analysis errors Signed-off-by: Bennet Becker --- apps/settings/lib/Mailer/NewUserMailHelper.php | 2 +- lib/public/Mail/Headers/AutoSubmitted.php | 2 +- lib/public/Mail/IMessage.php | 2 +- 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 */ -- 2.39.5