mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Resolve #1319
This commit is contained in:
parent
aa9888d2df
commit
a0eac266f7
1 changed files with 3 additions and 9 deletions
|
|
@ -25,10 +25,8 @@ class XCrypto extends Property
|
||||||
*
|
*
|
||||||
* This corresponds to the VALUE= parameter. Every property also has a
|
* This corresponds to the VALUE= parameter. Every property also has a
|
||||||
* 'default' valueType.
|
* 'default' valueType.
|
||||||
*
|
|
||||||
* @return string
|
|
||||||
*/
|
*/
|
||||||
public function getValueType()
|
public function getValueType(): string
|
||||||
{
|
{
|
||||||
return 'X-CRYPTO';
|
return 'X-CRYPTO';
|
||||||
}
|
}
|
||||||
|
|
@ -38,10 +36,8 @@ class XCrypto extends Property
|
||||||
*
|
*
|
||||||
* This has been 'unfolded', so only 1 line will be passed. Unescaping is
|
* This has been 'unfolded', so only 1 line will be passed. Unescaping is
|
||||||
* not yet done, but parameters are not included.
|
* not yet done, but parameters are not included.
|
||||||
*
|
|
||||||
* @param string $val
|
|
||||||
*/
|
*/
|
||||||
public function setRawMimeDirValue($val)
|
public function setRawMimeDirValue($val): void
|
||||||
{
|
{
|
||||||
error_log("setRawMimeDirValue({$val})");
|
error_log("setRawMimeDirValue({$val})");
|
||||||
// $this->setValue(MimeDir::unescapeValue($val, $this->delimiter));
|
// $this->setValue(MimeDir::unescapeValue($val, $this->delimiter));
|
||||||
|
|
@ -49,10 +45,8 @@ class XCrypto extends Property
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns a raw mime-dir representation of the value.
|
* Returns a raw mime-dir representation of the value.
|
||||||
*
|
|
||||||
* @return string
|
|
||||||
*/
|
*/
|
||||||
public function getRawMimeDirValue()
|
public function getRawMimeDirValue(): string
|
||||||
{
|
{
|
||||||
$result = [];
|
$result = [];
|
||||||
foreach ($this->parameters as $parameter) {
|
foreach ($this->parameters as $parameter) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue