File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed
Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66
77## [ Unreleased]
88
9+ ## [ 0.14.2] - 23 August 2024
10+ ### Fixed
11+ - Guarantee return type is string #170
12+
913## [ 0.14.1] - 23 August 2024
1014### Fixed
1115- Add CSP nonces to inline scripts
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ public function __construct(
1818 public function afterToHtml (Template $ block , $ html ): string
1919 {
2020 if (false === strstr ((string )$ block ->getNameInLayout (), 'yireo_webp2. ' )) {
21- return $ html ;
21+ return ( string ) $ html ;
2222 }
2323
2424 return $ this ->replaceInlineScripts ->replace ((string )$ html );
Original file line number Diff line number Diff line change 11{
22 "name" : " yireo/magento2-webp2" ,
33 "license" : " OSL-3.0" ,
4- "version" : " 0.14.1 " ,
4+ "version" : " 0.14.2 " ,
55 "type" : " magento2-module" ,
66 "homepage" : " https://www.yireo.com/software/magento-extensions/webp2" ,
77 "description" : " Magento 2 module to add WebP support to the Magento frontend" ,
You can’t perform that action at this time.
0 commit comments