Skip to content

Commit

Permalink
Resolve #1319
Browse files Browse the repository at this point in the history
  • Loading branch information
the-djmaze committed Nov 21, 2023
1 parent aa9888d commit a0eac26
Showing 1 changed file with 3 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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';
}
Expand All @@ -38,21 +36,17 @@ 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));
}

/**
* Returns a raw mime-dir representation of the value.
*
* @return string
*/
public function getRawMimeDirValue()
public function getRawMimeDirValue(): string
{
$result = [];
foreach ($this->parameters as $parameter) {
Expand Down

0 comments on commit a0eac26

Please sign in to comment.