From 01b7906cd3e339c0467f6cc9af6d681c7627482b Mon Sep 17 00:00:00 2001 From: "vadim.malesh" Date: Wed, 9 Sep 2020 13:32:33 +0300 Subject: [PATCH] revert changing the obsolete method --- app/code/Magento/Widget/Model/Widget.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/code/Magento/Widget/Model/Widget.php b/app/code/Magento/Widget/Model/Widget.php index c8b13ef028592..b05b70cfcbc71 100644 --- a/app/code/Magento/Widget/Model/Widget.php +++ b/app/code/Magento/Widget/Model/Widget.php @@ -143,7 +143,8 @@ public function getWidgetByClassType($type) */ public function getConfigAsXml($type) { - return $this->getWidgetByClassType($type); + // phpstan:ignore + return $this->getXmlElementByType($type); } /**