From 6295376d97bc95dfbff051583fbdbf63eeafa93f Mon Sep 17 00:00:00 2001 From: Ievgenii Gryshkun Date: Fri, 18 Oct 2019 09:18:41 +0300 Subject: [PATCH] Magento 2.3.2 - PWA - graphQl fetching Issue for phtml file called in static block #960 --- app/code/Magento/Widget/Model/Template/FilterEmulate.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/app/code/Magento/Widget/Model/Template/FilterEmulate.php b/app/code/Magento/Widget/Model/Template/FilterEmulate.php index 40c4ddcbdd41b..9e57ebb34f0ed 100644 --- a/app/code/Magento/Widget/Model/Template/FilterEmulate.php +++ b/app/code/Magento/Widget/Model/Template/FilterEmulate.php @@ -5,13 +5,20 @@ */ namespace Magento\Widget\Model\Template; +/** + * Class FilterEmulate + * + * @package Magento\Widget\Model\Template + */ class FilterEmulate extends Filter { /** * Generate widget with emulation frontend area * * @param string[] $construction - * @return string + * + * @return mixed|string + * @throws \Exception */ public function widgetDirective($construction) {