We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aeadacc commit 086b179Copy full SHA for 086b179
Plugin/BlockPlugin.php
@@ -6,6 +6,8 @@
6
* Glory to Ukraine! Glory to the heroes!
7
*/
8
9
+declare(strict_types = 1);
10
+
11
namespace Magefan\LazyLoad\Plugin;
12
13
/**
@@ -112,7 +114,7 @@ public function afterToHtml(\Magento\Framework\View\Element\AbstractBlock $block
112
114
* @param string $html
113
115
* @return boolean
116
- protected function isEnabled($block, $html)
117
+ protected function isEnabled($block, string $html): bool
118
{
119
if (PHP_SAPI === 'cli'
120
|| $this->request->isXmlHttpRequest()
0 commit comments