File tree Expand file tree Collapse file tree 3 files changed +8
-12
lines changed
app/code/Magento/PageBuilder/Model/Dom Expand file tree Collapse file tree 3 files changed +8
-12
lines changed Original file line number Diff line number Diff line change 14
14
*/
15
15
class DomDocument extends GtDomDocument
16
16
{
17
- public function __construct (string $ characterSet , string $ contentType )
18
- {
19
- parent ::__construct ($ characterSet , $ contentType );
20
- }
21
17
}
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 \DOMStringMap as GtDomStringMap ;
10
+ use Gt \Dom \DOMStringMapFactory as GtDomStringMapFactory ;
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 GtDomStringMap
25
+ * @var GtDomStringMapFactory
26
26
*/
27
27
private $ stringMap ;
28
28
29
29
/**
30
30
* HtmlDocument constructor.
31
31
*
32
32
* @param ObjectManagerInterface $objectManager
33
- * @param GtDomStringMap $stringMap
33
+ * @param GtDomStringMapFactory $stringMap
34
34
*/
35
35
public function __construct (
36
36
ObjectManagerInterface $ objectManager ,
37
- GtDomStringMap $ stringMap
37
+ GtDomStringMapFactory $ 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 \DOMTokenList as GtDomTokenList ;
10
+ use Gt \Dom \DOMTokenListFactory as GtDomTokenListFactory ;
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 GtDomTokenList
25
+ * @var GtDomTokenListFactory
26
26
*/
27
27
private $ tokenList ;
28
28
29
29
/**
30
30
* TokenList constructor.
31
31
*
32
32
* @param ObjectManagerInterface $objectManager
33
- * @param GtDomTokenList $tokenList
33
+ * @param GtDomTokenListFactory $tokenList
34
34
*/
35
35
public function __construct (
36
36
ObjectManagerInterface $ objectManager ,
37
- GtDomTokenList $ tokenList
37
+ GtDomTokenListFactory $ 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