File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ private function getBlockInfo(\Magento\Framework\View\Element\AbstractBlock $blo
173173 'phpClass ' => $ this ->getBlockClass ($ block ),
174174 ],
175175 'extra ' => [
176- 'cacheKeyInfo ' => $ block ->getCacheKeyInfo ()
176+ 'cacheKeyInfo ' => @ $ block ->getCacheKeyInfo ()
177177 ],
178178 'paths ' => [
179179 'template ' => $ block ->getTemplateFile (),
@@ -206,7 +206,7 @@ private static function filterEscape($data)
206206 if (is_array ($ elem )) {
207207 return self ::filterEscape ($ elem );
208208 }
209- return addslashes ($ elem ); // @codingStandardsIgnoreLine
209+ return is_null ( $ elem ) ? $ elem : addslashes ($ elem ); // @codingStandardsIgnoreLine
210210 }, $ data ));
211211 }
212212
Original file line number Diff line number Diff line change 1212 }
1313 ],
1414 "require" : {
15- "php" : " ~7.1 "
15+ "php" : " ~7.4||~8.1.0 "
1616 },
1717 "type" : " magento2-module" ,
1818 "license" : " BSD-2-Clause" ,
Original file line number Diff line number Diff line change 55 -->
66
77<config xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : noNamespaceSchemaLocation =" urn:magento:framework:Module/etc/module.xsd" >
8- <module name =" Ho_Templatehints" setup_version =" 0.2.3 " />
8+ <module name =" Ho_Templatehints" setup_version =" 0.2.5 " />
99</config >
You can’t perform that action at this time.
0 commit comments