From c5dc27ea9e59311ea578f8320819c9cc7a929461 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sat, 26 Mar 2022 15:01:46 +0100 Subject: [PATCH] undo serialize deprecation and switch to installExternal api calls --- Models/TicketAttribute.php | 3 +-- Models/TicketAttributeType.php | 3 +-- Models/TicketAttributeTypeL11n.php | 3 +-- Models/TicketAttributeValue.php | 3 +-- 4 files changed, 4 insertions(+), 8 deletions(-) diff --git a/Models/TicketAttribute.php b/Models/TicketAttribute.php index a0dce56..2bf9df9 100755 --- a/Models/TicketAttribute.php +++ b/Models/TicketAttribute.php @@ -14,7 +14,6 @@ declare(strict_types=1); namespace Modules\Support\Models; -use phpOMS\Contract\ArrayableInterface; /** * Ticket class. @@ -24,7 +23,7 @@ use phpOMS\Contract\ArrayableInterface; * @link https://karaka.app * @since 1.0.0 */ -class TicketAttribute implements \JsonSerializable, ArrayableInterface +class TicketAttribute implements \JsonSerializable { /** * Id. diff --git a/Models/TicketAttributeType.php b/Models/TicketAttributeType.php index 344ac59..2763248 100755 --- a/Models/TicketAttributeType.php +++ b/Models/TicketAttributeType.php @@ -14,7 +14,6 @@ declare(strict_types=1); namespace Modules\Support\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 TicketAttributeType implements \JsonSerializable, ArrayableInterface +class TicketAttributeType implements \JsonSerializable { /** * Id diff --git a/Models/TicketAttributeTypeL11n.php b/Models/TicketAttributeTypeL11n.php index 47652ea..acbf6b0 100755 --- a/Models/TicketAttributeTypeL11n.php +++ b/Models/TicketAttributeTypeL11n.php @@ -14,7 +14,6 @@ declare(strict_types=1); namespace Modules\Support\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 TicketAttributeTypeL11n implements \JsonSerializable, ArrayableInterface +class TicketAttributeTypeL11n implements \JsonSerializable { /** * ID. diff --git a/Models/TicketAttributeValue.php b/Models/TicketAttributeValue.php index fb2eb36..5aa417a 100755 --- a/Models/TicketAttributeValue.php +++ b/Models/TicketAttributeValue.php @@ -14,7 +14,6 @@ declare(strict_types=1); namespace Modules\Support\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 TicketAttributeValue implements \JsonSerializable, ArrayableInterface +class TicketAttributeValue implements \JsonSerializable { /** * Id