From a192eac469aac00c11f32476879d01b64da8a8d5 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sat, 26 Mar 2022 15:01:45 +0100 Subject: [PATCH] undo serialize deprecation and switch to installExternal api calls --- Models/EventAttribute.php | 3 +-- Models/EventAttributeType.php | 3 +-- Models/EventAttributeTypeL11n.php | 3 +-- Models/EventAttributeValue.php | 3 +-- 4 files changed, 4 insertions(+), 8 deletions(-) diff --git a/Models/EventAttribute.php b/Models/EventAttribute.php index 1c864ea..443fb01 100755 --- a/Models/EventAttribute.php +++ b/Models/EventAttribute.php @@ -14,7 +14,6 @@ declare(strict_types=1); namespace Modules\EventManagement\Models; -use phpOMS\Contract\ArrayableInterface; /** * Event class. @@ -24,7 +23,7 @@ use phpOMS\Contract\ArrayableInterface; * @link https://karaka.app * @since 1.0.0 */ -class EventAttribute implements \JsonSerializable, ArrayableInterface +class EventAttribute implements \JsonSerializable { /** * Id. diff --git a/Models/EventAttributeType.php b/Models/EventAttributeType.php index 17b6574..8fce505 100755 --- a/Models/EventAttributeType.php +++ b/Models/EventAttributeType.php @@ -14,7 +14,6 @@ declare(strict_types=1); namespace Modules\EventManagement\Models; -use phpOMS\Contract\ArrayableInterface; use phpOMS\Localization\ISO639x1Enum; /** @@ -25,7 +24,7 @@ use phpOMS\Localization\ISO639x1Enum; * @link https://karaka.app * @since 1.0.0 */ -class EventAttributeType implements \JsonSerializable, ArrayableInterface +class EventAttributeType implements \JsonSerializable { /** * Id diff --git a/Models/EventAttributeTypeL11n.php b/Models/EventAttributeTypeL11n.php index 96437a1..0c6b25a 100755 --- a/Models/EventAttributeTypeL11n.php +++ b/Models/EventAttributeTypeL11n.php @@ -14,7 +14,6 @@ declare(strict_types=1); namespace Modules\EventManagement\Models; -use phpOMS\Contract\ArrayableInterface; use phpOMS\Localization\ISO639x1Enum; /** @@ -25,7 +24,7 @@ use phpOMS\Localization\ISO639x1Enum; * @link https://karaka.app * @since 1.0.0 */ -class EventAttributeTypeL11n implements \JsonSerializable, ArrayableInterface +class EventAttributeTypeL11n implements \JsonSerializable { /** * ID. diff --git a/Models/EventAttributeValue.php b/Models/EventAttributeValue.php index d3f8445..b5cc1ed 100755 --- a/Models/EventAttributeValue.php +++ b/Models/EventAttributeValue.php @@ -14,7 +14,6 @@ declare(strict_types=1); namespace Modules\EventManagement\Models; -use phpOMS\Contract\ArrayableInterface; use phpOMS\Localization\ISO3166TwoEnum; use phpOMS\Localization\ISO639x1Enum; @@ -28,7 +27,7 @@ use phpOMS\Localization\ISO639x1Enum; * @link https://karaka.app * @since 1.0.0 */ -class EventAttributeValue implements \JsonSerializable, ArrayableInterface +class EventAttributeValue implements \JsonSerializable { /** * Id