Skip to content

Commit

Permalink
revert changing the obsolete method
Browse files Browse the repository at this point in the history
  • Loading branch information
engcom-Charlie committed Sep 9, 2020
1 parent ace8a6f commit 01b7906
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/code/Magento/Widget/Model/Widget.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@ public function getWidgetByClassType($type)
*/
public function getConfigAsXml($type)
{
return $this->getWidgetByClassType($type);
// phpstan:ignore
return $this->getXmlElementByType($type);
}

/**
Expand Down

0 comments on commit 01b7906

Please sign in to comment.