From 7fb9c0b5c7d2c977d064bf2cb43e7c32fdd71687 Mon Sep 17 00:00:00 2001 From: Yaroslav Onischenko <yonischenko@magento.com> Date: Tue, 30 Aug 2016 12:17:50 +0300 Subject: [PATCH] MAGETWO-55908: Prepare PR --- .../Catalog/Api/ProductTierPriceManagementInterface.php | 1 + .../Ui/DataProvider/Product/Form/Modifier/AdvancedPricing.php | 2 +- .../Attribute/Source/GroupSourceLoggedInOnlyInterface.php | 4 ++-- .../Customer/Model/Customer/Source/GroupSourceInterface.php | 4 ++-- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/app/code/Magento/Catalog/Api/ProductTierPriceManagementInterface.php b/app/code/Magento/Catalog/Api/ProductTierPriceManagementInterface.php index d587aec01cc..f02c3afa5ae 100644 --- a/app/code/Magento/Catalog/Api/ProductTierPriceManagementInterface.php +++ b/app/code/Magento/Catalog/Api/ProductTierPriceManagementInterface.php @@ -8,6 +8,7 @@ namespace Magento\Catalog\Api; /** * @api + * @deprecated use ScopedProductTierPriceManagementInterface instead */ interface ProductTierPriceManagementInterface { diff --git a/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/AdvancedPricing.php b/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/AdvancedPricing.php index 071bc8d7967..c42efd5a1e6 100644 --- a/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/AdvancedPricing.php +++ b/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/AdvancedPricing.php @@ -650,7 +650,7 @@ class AdvancedPricing extends AbstractModifier /** * Retrieve store * - * @return \Magento\Store\Model\Store + * @return \Magento\Store\Api\Data\StoreInterface */ private function getStore() { diff --git a/app/code/Magento/Customer/Model/Customer/Attribute/Source/GroupSourceLoggedInOnlyInterface.php b/app/code/Magento/Customer/Model/Customer/Attribute/Source/GroupSourceLoggedInOnlyInterface.php index 93df78a1be1..5570b4073df 100644 --- a/app/code/Magento/Customer/Model/Customer/Attribute/Source/GroupSourceLoggedInOnlyInterface.php +++ b/app/code/Magento/Customer/Model/Customer/Attribute/Source/GroupSourceLoggedInOnlyInterface.php @@ -6,9 +6,9 @@ namespace Magento\Customer\Model\Customer\Attribute\Source; -use Magento\Framework\Option\ArrayInterface as OptionArrayInterface; +use \Magento\Framework\Data\OptionSourceInterface; -interface GroupSourceLoggedInOnlyInterface extends OptionArrayInterface +interface GroupSourceLoggedInOnlyInterface extends OptionSourceInterface { } diff --git a/app/code/Magento/Customer/Model/Customer/Source/GroupSourceInterface.php b/app/code/Magento/Customer/Model/Customer/Source/GroupSourceInterface.php index d180ad4d491..c044740dc35 100644 --- a/app/code/Magento/Customer/Model/Customer/Source/GroupSourceInterface.php +++ b/app/code/Magento/Customer/Model/Customer/Source/GroupSourceInterface.php @@ -5,9 +5,9 @@ */ namespace Magento\Customer\Model\Customer\Source; -use Magento\Framework\Option\ArrayInterface as OptionArrayInterface; +use Magento\Framework\Data\OptionSourceInterface; -interface GroupSourceInterface extends OptionArrayInterface +interface GroupSourceInterface extends OptionSourceInterface { } -- GitLab