From 9093f1618b1769e4c7ad943d6b11fa68a9ef27dd Mon Sep 17 00:00:00 2001 From: mscherer Date: Tue, 19 May 2020 15:03:42 +0200 Subject: [PATCH] Refactor deprecations to clickable links. --- .../Business/ProductList/ProductListWriter.php | 2 +- .../Zed/ProductList/Business/ProductListFacade.php | 10 +++++----- .../Business/ProductListFacadeInterface.php | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/Spryker/Zed/ProductList/Business/ProductList/ProductListWriter.php b/src/Spryker/Zed/ProductList/Business/ProductList/ProductListWriter.php index 460eb65..48fa12c 100644 --- a/src/Spryker/Zed/ProductList/Business/ProductList/ProductListWriter.php +++ b/src/Spryker/Zed/ProductList/Business/ProductList/ProductListWriter.php @@ -76,7 +76,7 @@ public function __construct( } /** - * @deprecated Use createProductList() or updateProductList() instead. + * @deprecated Use {@link createProductList()} or updateProductList() instead. * * @param \Generated\Shared\Transfer\ProductListTransfer $productListTransfer * diff --git a/src/Spryker/Zed/ProductList/Business/ProductListFacade.php b/src/Spryker/Zed/ProductList/Business/ProductListFacade.php index 3249d8e..4435b4e 100644 --- a/src/Spryker/Zed/ProductList/Business/ProductListFacade.php +++ b/src/Spryker/Zed/ProductList/Business/ProductListFacade.php @@ -26,7 +26,7 @@ class ProductListFacade extends AbstractFacade implements ProductListFacadeInter * * @api * - * @deprecated Use createProductList() or updateProductList() instead. + * @deprecated Use {@link createProductList()} or updateProductList() instead. * * @param \Generated\Shared\Transfer\ProductListTransfer $productListTransfer * @@ -106,7 +106,7 @@ public function removeProductList(ProductListTransfer $productListTransfer): Pro * * @api * - * @deprecated Use ProductListFacade::getProductBlacklistIdsByIdProductAbstract() instead. + * @deprecated Use {@link getProductBlacklistIdsByIdProductAbstract()} instead. * * @param int $idProductAbstract * @@ -170,7 +170,7 @@ public function getProductListsIdsByProductIds(array $productIds): array * * @api * - * @deprecated Use ProductListFacade::getProductWhitelistIdsByIdProductAbstract() instead. + * @deprecated Use {@link getProductWhitelistIdsByIdProductAbstract()} instead. * * @param int $idProductAbstract * @@ -218,7 +218,7 @@ public function getCategoryWhitelistIdsByIdProductAbstract(int $idProductAbstrac * * @api * - * @deprecated Use ProductListFacade::getProductBlacklistIdsByIdProduct() instead. + * @deprecated Use {@link getProductBlacklistIdsByIdProduct()} instead. * * @param int $idProduct * @@ -250,7 +250,7 @@ public function getProductBlacklistIdsByIdProduct(int $idProduct): array * * @api * - * @deprecated Use ProductListFacade::getProductWhitelistIdsByIdProduct() instead. + * @deprecated Use {@link getProductWhitelistIdsByIdProduct()} instead. * * @param int $idProduct * diff --git a/src/Spryker/Zed/ProductList/Business/ProductListFacadeInterface.php b/src/Spryker/Zed/ProductList/Business/ProductListFacadeInterface.php index 021da79..a8ed159 100644 --- a/src/Spryker/Zed/ProductList/Business/ProductListFacadeInterface.php +++ b/src/Spryker/Zed/ProductList/Business/ProductListFacadeInterface.php @@ -112,7 +112,7 @@ public function removeProductList(ProductListTransfer $productListTransfer): Pro * * @api * - * @deprecated Use ProductListFacadeInterface::getProductBlacklistIdsByIdProductAbstract() instead. + * @deprecated Use {@link getProductBlacklistIdsByIdProductAbstract()} instead. * * @param int $idProductAbstract * @@ -165,7 +165,7 @@ public function getProductBlacklistIdsByIdProductAbstract(int $idProductAbstract * * @api * - * @deprecated Use ProductListFacadeInterface::getProductWhitelistIdsByIdProductAbstract() instead. + * @deprecated Use {@link getProductWhitelistIdsByIdProductAbstract()} instead. * * @param int $idProductAbstract * @@ -204,7 +204,7 @@ public function getCategoryWhitelistIdsByIdProductAbstract(int $idProductAbstrac * * @api * - * @deprecated Use ProductListFacadeInterface::getProductBlacklistIdsByIdProduct() instead. + * @deprecated Use {@link getProductBlacklistIdsByIdProduct()} instead. * * @param int $idProduct * @@ -230,7 +230,7 @@ public function getProductBlacklistIdsByIdProduct(int $idProduct): array; * * @api * - * @deprecated Use ProductListFacadeInterface::getProductWhitelistIdsByIdProduct() instead. + * @deprecated Use {@link getProductWhitelistIdsByIdProduct()} instead. * * @param int $idProduct *