File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
lib/internal/Magento/Framework/View/Page/Config/Reader Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -53,10 +53,7 @@ public function getCriticalCssData()
5353 $ asset = $ this ->assetRepo ->createAsset ($ this ->filePath , ['_secure ' => 'false ' ]);
5454 $ content = $ asset ->getContent ();
5555 } catch (NotFoundException $ e ) {
56- throw new LocalizedException (__ (
57- 'Cannot get critical css file data: "%1" ' ,
58- $ e ->getMessage ()
59- ));
56+ $ content = '' ;
6057 };
6158
6259 return $ content ;
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ class Head implements Layout\ReaderInterface
3434 /**#@-*/
3535
3636 /**
37- * { @inheritdoc}
37+ * @inheritdoc
3838 */
3939 public function getSupportedNodes ()
4040 {
@@ -63,7 +63,9 @@ protected function addContentTypeByNodeName(Layout\Element $node)
6363 }
6464
6565 /**
66- * {@inheritdoc}
66+ * @param Layout\Reader\Context $readerContext
67+ * @param Layout\Element $headElement
68+ * @return $this|Layout\ReaderInterface
6769 */
6870 public function interpret (
6971 Layout \Reader \Context $ readerContext ,
You can’t perform that action at this time.
0 commit comments