Quellcode durchsuchen

fix missing class in NewUserMailHelper and static code analysis errors

Signed-off-by: Bennet Becker <dev@bennet.cc>
Bennet Becker vor 1 Jahr
Ursprung
Commit
c8bde160cd

+ 1 - 1
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;

+ 1 - 1
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
 	 */

+ 1 - 1
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
 	 */