From 90a1bbb5b0d52bbad941f769ddf1509d2600b773 Mon Sep 17 00:00:00 2001 From: Sergii Ivashchenko Date: Thu, 6 Dec 2018 18:38:09 +0200 Subject: [PATCH 1/2] Deprecated ArrayInterface in favour of ancestor Magento\Framework\Data\OptionSourceInterface --- lib/internal/Magento/Framework/Option/ArrayInterface.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/internal/Magento/Framework/Option/ArrayInterface.php b/lib/internal/Magento/Framework/Option/ArrayInterface.php index ecfa71227f9f2..dc8d0963157c3 100644 --- a/lib/internal/Magento/Framework/Option/ArrayInterface.php +++ b/lib/internal/Magento/Framework/Option/ArrayInterface.php @@ -6,7 +6,9 @@ namespace Magento\Framework\Option; /** - * @todo Remove in favor of the ancestor interface + * Array marker interface + * + * @deprecated please use Magento\Framework\Data\OptionSourceInterface instead. */ interface ArrayInterface extends \Magento\Framework\Data\OptionSourceInterface { From 0fc2a5b85fef3380fa6b6539d44a471b0be6b981 Mon Sep 17 00:00:00 2001 From: Stanislav Idolov Date: Thu, 6 Dec 2018 11:01:13 -0600 Subject: [PATCH 2/2] Added @see tag --- lib/internal/Magento/Framework/Option/ArrayInterface.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/internal/Magento/Framework/Option/ArrayInterface.php b/lib/internal/Magento/Framework/Option/ArrayInterface.php index dc8d0963157c3..054d9059b02f8 100644 --- a/lib/internal/Magento/Framework/Option/ArrayInterface.php +++ b/lib/internal/Magento/Framework/Option/ArrayInterface.php @@ -8,7 +8,8 @@ /** * Array marker interface * - * @deprecated please use Magento\Framework\Data\OptionSourceInterface instead. + * @deprecated please use \Magento\Framework\Data\OptionSourceInterface instead. + * @see \Magento\Framework\Data\OptionSourceInterface */ interface ArrayInterface extends \Magento\Framework\Data\OptionSourceInterface {