From f1c07977809ce3221286d53e99f0d91145b1166f Mon Sep 17 00:00:00 2001 From: Mario Date: Thu, 25 Apr 2019 11:24:09 +0200 Subject: Revert "update composer libs" This reverts commit e779335d060b3a51d6a144d23af4097ae6801473 --- vendor/sabre/vobject/lib/Property/Unknown.php | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'vendor/sabre/vobject/lib/Property/Unknown.php') diff --git a/vendor/sabre/vobject/lib/Property/Unknown.php b/vendor/sabre/vobject/lib/Property/Unknown.php index 6f404c286..7a3373868 100644 --- a/vendor/sabre/vobject/lib/Property/Unknown.php +++ b/vendor/sabre/vobject/lib/Property/Unknown.php @@ -12,8 +12,8 @@ namespace Sabre\VObject\Property; * @author Evert Pot (http://evertpot.com/) * @license http://sabre.io/license/ Modified BSD License */ -class Unknown extends Text -{ +class Unknown extends Text { + /** * Returns the value, in the format it should be encoded for json. * @@ -21,9 +21,10 @@ class Unknown extends Text * * @return array */ - public function getJsonValue() - { + function getJsonValue() { + return [$this->getRawMimeDirValue()]; + } /** @@ -34,8 +35,10 @@ class Unknown extends Text * * @return string */ - public function getValueType() - { + function getValueType() { + return 'UNKNOWN'; + } + } -- cgit v1.2.3