From da043dca915789a2b9d11a26654d8d71b74f9806 Mon Sep 17 00:00:00 2001 From: Samir Boulil Date: Thu, 12 Mar 2020 16:04:53 +0100 Subject: [PATCH] MET-23: Remove depreciation --- src/Api/MeasureFamilyApi.php | 9 --------- src/Api/MeasureFamilyApiInterface.php | 2 -- 2 files changed, 11 deletions(-) diff --git a/src/Api/MeasureFamilyApi.php b/src/Api/MeasureFamilyApi.php index 7bd217f3..c0c117b4 100644 --- a/src/Api/MeasureFamilyApi.php +++ b/src/Api/MeasureFamilyApi.php @@ -14,8 +14,6 @@ * @author Philippe Mossière * @copyright 2017 Akeneo SAS (http://www.akeneo.com) * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * - * @deprecated use \Akeneo\Pim\ApiClient\Client\ResourceClientInterface\MeasurementFamilyApi */ class MeasureFamilyApi implements MeasureFamilyApiInterface { @@ -48,9 +46,6 @@ public function __construct( /** * {@inheritdoc} - * - * @deprecated use \Akeneo\Pim\ApiClient\Client\ResourceClientInterface\MeasurementFamilyApi::all() and filter on - * the measurement family code you want to fetch manually. */ public function get(string $code): array { @@ -59,8 +54,6 @@ public function get(string $code): array /** * {@inheritdoc} - * - * @deprecated use \Akeneo\Pim\ApiClient\Client\ResourceClientInterface\MeasurementFamilyApi::all() */ public function listPerPage(int $limit = 10, bool $withCount = false, array $queryParameters = []): PageInterface { @@ -71,8 +64,6 @@ public function listPerPage(int $limit = 10, bool $withCount = false, array $que /** * {@inheritdoc} - * - * @deprecated use \Akeneo\Pim\ApiClient\Client\ResourceClientInterface\MeasurementFamilyApi::all() */ public function all(int $pageSize = 10, array $queryParameters = []): ResourceCursorInterface { diff --git a/src/Api/MeasureFamilyApiInterface.php b/src/Api/MeasureFamilyApiInterface.php index 41fe923f..46ed2164 100644 --- a/src/Api/MeasureFamilyApiInterface.php +++ b/src/Api/MeasureFamilyApiInterface.php @@ -11,8 +11,6 @@ * @author Philippe Mossière * @copyright 2017 Akeneo SAS (http://www.akeneo.com) * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * - * @deprecated \Akeneo\Pim\ApiClient\Exception\HttpException\MeasurementFamilyApiInterface instead */ interface MeasureFamilyApiInterface extends GettableResourceInterface, ListableResourceInterface {