File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed
app/code/Magento/PageBuilder/Model/Dom Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ public function __construct(
34
34
$ this ->document = $ this ->objectManager ->create (
35
35
GtDomHTMLDocument::class,
36
36
[
37
- "document " => $ document ,
37
+ "html " => $ document ,
38
38
"characterSet " => $ characterSet
39
39
]
40
40
);
Original file line number Diff line number Diff line change 7
7
8
8
namespace Magento \PageBuilder \Model \Dom ;
9
9
10
- use Gt \Dom \DOMStringMapFactory as GtDomStringMapFactory ;
10
+ use Gt \Dom \DOMStringMap as GtDomStringMap ;
11
11
use Magento \Framework \ObjectManagerInterface ;
12
12
use Magento \PageBuilder \Model \Dom \Adapter \StringMapInterface ;
13
13
@@ -22,19 +22,19 @@ class StringMap implements StringMapInterface
22
22
private $ objectManager ;
23
23
24
24
/**
25
- * @var GtDomStringMapFactory
25
+ * @var GtDomStringMap
26
26
*/
27
27
private $ stringMap ;
28
28
29
29
/**
30
30
* HtmlDocument constructor.
31
31
*
32
32
* @param ObjectManagerInterface $objectManager
33
- * @param GtDomStringMapFactory $stringMap
33
+ * @param GtDomStringMap $stringMap
34
34
*/
35
35
public function __construct (
36
36
ObjectManagerInterface $ objectManager ,
37
- GtDomStringMapFactory $ stringMap
37
+ GtDomStringMap $ stringMap
38
38
) {
39
39
$ this ->objectManager = $ objectManager ;
40
40
$ this ->stringMap = $ stringMap ;
Original file line number Diff line number Diff line change 7
7
8
8
namespace Magento \PageBuilder \Model \Dom ;
9
9
10
- use Gt \Dom \DOMTokenListFactory as GtDomTokenListFactory ;
10
+ use Gt \Dom \DOMTokenList as GtDomTokenList ;
11
11
use Magento \Framework \ObjectManagerInterface ;
12
12
use Magento \PageBuilder \Model \Dom \Adapter \TokenListInterface ;
13
13
@@ -22,19 +22,19 @@ class TokenList implements TokenListInterface
22
22
private $ objectManager ;
23
23
24
24
/**
25
- * @var GtDomTokenListFactory
25
+ * @var GtDomTokenList
26
26
*/
27
27
private $ tokenList ;
28
28
29
29
/**
30
30
* TokenList constructor.
31
31
*
32
32
* @param ObjectManagerInterface $objectManager
33
- * @param GtDomTokenListFactory $tokenList
33
+ * @param GtDomTokenList $tokenList
34
34
*/
35
35
public function __construct (
36
36
ObjectManagerInterface $ objectManager ,
37
- GtDomTokenListFactory $ tokenList
37
+ GtDomTokenList $ tokenList
38
38
) {
39
39
$ this ->objectManager = $ objectManager ;
40
40
$ this ->tokenList = $ tokenList ;
You can’t perform that action at this time.
0 commit comments