Skip to content

Commit 01b7906

Browse files
revert changing the obsolete method
1 parent ace8a6f commit 01b7906

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/code/Magento/Widget/Model/Widget.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,8 @@ public function getWidgetByClassType($type)
143143
*/
144144
public function getConfigAsXml($type)
145145
{
146-
return $this->getWidgetByClassType($type);
146+
// phpstan:ignore
147+
return $this->getXmlElementByType($type);
147148
}
148149

149150
/**

0 commit comments

Comments
 (0)