From 5eb8487019e840761af96aa87f12358f3237b99b Mon Sep 17 00:00:00 2001 From: Ivan Lutokhin Date: Tue, 18 May 2021 09:23:45 +0300 Subject: [PATCH] Fix model namespaces --- Model/RequestCalculate.php | 4 ++-- Model/ResponseLoadDeliveryData.php | 2 +- Model/Settings.php | 5 ++--- Model/Unit.php | 2 ++ 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/Model/RequestCalculate.php b/Model/RequestCalculate.php index 63acab0..7f9c94b 100644 --- a/Model/RequestCalculate.php +++ b/Model/RequestCalculate.php @@ -11,7 +11,7 @@ class RequestCalculate /** * Адрес отгрузки. * - * @var RetailCrm\DeliveryModuleBundle\Model\DeliveryAddress + * @var DeliveryAddress * * @Serializer\Groups({"request", "calculate"}) * @Serializer\SerializedName("shipmentAddress") @@ -33,7 +33,7 @@ class RequestCalculate /** * Набор упаковок. * - * @var RetailCrm\DeliveryModuleBundle\Model\Package[] + * @var Package[] * * @Serializer\Groups({"request", "calculate"}) * @Serializer\SerializedName("packages") diff --git a/Model/ResponseLoadDeliveryData.php b/Model/ResponseLoadDeliveryData.php index ccca5f1..7a6491d 100644 --- a/Model/ResponseLoadDeliveryData.php +++ b/Model/ResponseLoadDeliveryData.php @@ -50,7 +50,7 @@ class ResponseLoadDeliveryData /** * Время доставки - * @var RetailCrm\DeliveryModuleBundle\Model\DeliveryTime + * @var DeliveryTime * * @Serializer\Groups({"response"}) * @Serializer\SerializedName("deliveryTime") diff --git a/Model/Settings.php b/Model/Settings.php index b97c484..4464a85 100644 --- a/Model/Settings.php +++ b/Model/Settings.php @@ -3,7 +3,6 @@ namespace RetailCrm\DeliveryModuleBundle\Model; use JMS\Serializer\Annotation as Serializer; -use RetailCrm\DeliveryModuleBundle\Model\Settings\ExtraData; use RetailCrm\DeliveryModuleBundle\Model\Settings\PaymentType; use RetailCrm\DeliveryModuleBundle\Model\Settings\ShipmentPoint; use RetailCrm\DeliveryModuleBundle\Model\Settings\Status; @@ -77,7 +76,7 @@ class Settings public $statuses; /** - * @var array|ExtraData[] + * @var array * * @Serializer\Groups({"set", "get"}) * @Serializer\SerializedName("deliveryExtraData") @@ -86,7 +85,7 @@ class Settings public $deliveryExtraData; /** - * @var array|ExtraData[] + * @var array * * @Serializer\Groups({"set", "get"}) * @Serializer\SerializedName("shipmentExtraData") diff --git a/Model/Unit.php b/Model/Unit.php index 4f45d32..c46abe8 100644 --- a/Model/Unit.php +++ b/Model/Unit.php @@ -2,6 +2,8 @@ namespace RetailCrm\DeliveryModuleBundle\Model; +use JMS\Serializer\Annotation as Serializer; + class Unit { /**