aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBennet Becker <bbecker@pks.mpg.de>2022-12-23 12:46:15 +0100
committerBennet Becker <dev@bennet.cc>2022-12-23 19:26:49 +0100
commitc1c6d215c74a8246183510b7a4e94aa07e5b82d4 (patch)
tree7fc25a1c31d848e9aef6e66b13c7ab2404833309 /lib
parent7a9f4fbbbeb413d96bf71e953886c1b6b5639bca (diff)
downloadnextcloud-server-c1c6d215c74a8246183510b7a4e94aa07e5b82d4.tar.gz
nextcloud-server-c1c6d215c74a8246183510b7a4e94aa07e5b82d4.zip
fix getAutoSubmitted return type and adding unit tests
Signed-off-by: Bennet Becker <bbecker@pks.mpg.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Mail/Message.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Mail/Message.php b/lib/private/Mail/Message.php
index c383c1b1795..d074befcae4 100644
--- a/lib/private/Mail/Message.php
+++ b/lib/private/Mail/Message.php
@@ -328,7 +328,7 @@ class Message implements IMessage {
*
* @return string
*/
- public function getAutoSubmitted(): AutoSubmittedValue {
+ public function getAutoSubmitted(): string {
$headers = $this->swiftMessage->getHeaders();
return $headers->has('Auto-Submitted') ?