File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
lib/internal/Magento/Framework/View/Model/Layout Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -293,6 +293,7 @@ public function getHandles()
293
293
294
294
/**
295
295
* Add the first existing (declared in layout updates) page handle along with all parents to the update.
296
+ *
296
297
* Return whether any page handles have been added or not.
297
298
*
298
299
* @param string[] $handlesToTry
@@ -325,6 +326,8 @@ public function pageHandleExists($handleName)
325
326
}
326
327
327
328
/**
329
+ * Page layout type
330
+ *
328
331
* @return string|null
329
332
*/
330
333
public function getPageLayout ()
@@ -617,7 +620,7 @@ protected function _fetchDbLayoutUpdates($handle)
617
620
*/
618
621
public function validateUpdate ($ handle , $ updateXml )
619
622
{
620
- return ;
623
+ return null ;
621
624
}
622
625
623
626
/**
@@ -945,6 +948,7 @@ public function getScope()
945
948
public function getCacheId ()
946
949
{
947
950
$ layoutCacheKeys = $ this ->layoutCacheKey ->getCacheKeys ();
951
+ // phpcs:ignore Magento2.Security.InsecureFunction
948
952
return $ this ->generateCacheId (md5 (implode ('| ' , array_merge ($ this ->getHandles (), $ layoutCacheKeys ))));
949
953
}
950
954
}
You can’t perform that action at this time.
0 commit comments