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 8733f8c commit ff986bdCopy full SHA for ff986bd
lib/internal/Magento/Framework/Css/PreProcessor/Adapter/CssInliner.php
@@ -4,21 +4,22 @@
4
* See COPYING.txt for license details.
5
*/
6
namespace Magento\Framework\Css\PreProcessor\Adapter;
7
+
8
use Pelago\Emogrifier;
9
10
+/**
11
+ * Adapter for Emogrifier 3rd party library
12
+ */
13
class CssInliner
14
{
15
/**
16
* @var Emogrifier
17
18
private $emogrifier;
19
- /**
- * @param Emogrifier $emogrifier
- */
- public function __construct(Emogrifier $emogrifier)
20
+ public function __construct()
21
- $this->emogrifier = $emogrifier;
22
+ $this->emogrifier = new Emogrifier;
23
}
24
25
0 commit comments