From a0eac266f743ce7da9424430debbceb4e293e2dd Mon Sep 17 00:00:00 2001 From: the-djmaze <> Date: Tue, 21 Nov 2023 23:47:35 +0100 Subject: [PATCH] Resolve #1319 --- .../app/libraries/Sabre/VObject/Property/XCrypto.php | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/snappymail/v/0.0.0/app/libraries/Sabre/VObject/Property/XCrypto.php b/snappymail/v/0.0.0/app/libraries/Sabre/VObject/Property/XCrypto.php index 27ed01b543..00cea12317 100644 --- a/snappymail/v/0.0.0/app/libraries/Sabre/VObject/Property/XCrypto.php +++ b/snappymail/v/0.0.0/app/libraries/Sabre/VObject/Property/XCrypto.php @@ -25,10 +25,8 @@ class XCrypto extends Property * * This corresponds to the VALUE= parameter. Every property also has a * 'default' valueType. - * - * @return string */ - public function getValueType() + public function getValueType(): string { return 'X-CRYPTO'; } @@ -38,10 +36,8 @@ public function getValueType() * * This has been 'unfolded', so only 1 line will be passed. Unescaping is * not yet done, but parameters are not included. - * - * @param string $val */ - public function setRawMimeDirValue($val) + public function setRawMimeDirValue($val): void { error_log("setRawMimeDirValue({$val})"); // $this->setValue(MimeDir::unescapeValue($val, $this->delimiter)); @@ -49,10 +45,8 @@ public function setRawMimeDirValue($val) /** * Returns a raw mime-dir representation of the value. - * - * @return string */ - public function getRawMimeDirValue() + public function getRawMimeDirValue(): string { $result = []; foreach ($this->parameters as $parameter) {