Skip to content

Commit 4ae2f16

Browse files
committed
AC-8095::Investigate the phpgt/dom Composer dependencies upgrading to latest version
1 parent 4790812 commit 4ae2f16

File tree

3 files changed

+8
-12
lines changed

3 files changed

+8
-12
lines changed

app/code/Magento/PageBuilder/Model/Dom/DomDocument.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,4 @@
1414
*/
1515
class DomDocument extends GtDomDocument
1616
{
17-
public function __construct(string $characterSet, string $contentType)
18-
{
19-
parent::__construct($characterSet, $contentType);
20-
}
2117
}

app/code/Magento/PageBuilder/Model/Dom/StringMap.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
namespace Magento\PageBuilder\Model\Dom;
99

10-
use Gt\Dom\DOMStringMap as GtDomStringMap;
10+
use Gt\Dom\DOMStringMapFactory as GtDomStringMapFactory;
1111
use Magento\Framework\ObjectManagerInterface;
1212
use Magento\PageBuilder\Model\Dom\Adapter\StringMapInterface;
1313

@@ -22,19 +22,19 @@ class StringMap implements StringMapInterface
2222
private $objectManager;
2323

2424
/**
25-
* @var GtDomStringMap
25+
* @var GtDomStringMapFactory
2626
*/
2727
private $stringMap;
2828

2929
/**
3030
* HtmlDocument constructor.
3131
*
3232
* @param ObjectManagerInterface $objectManager
33-
* @param GtDomStringMap $stringMap
33+
* @param GtDomStringMapFactory $stringMap
3434
*/
3535
public function __construct(
3636
ObjectManagerInterface $objectManager,
37-
GtDomStringMap $stringMap
37+
GtDomStringMapFactory $stringMap
3838
) {
3939
$this->objectManager = $objectManager;
4040
$this->stringMap = $stringMap;

app/code/Magento/PageBuilder/Model/Dom/TokenList.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
namespace Magento\PageBuilder\Model\Dom;
99

10-
use Gt\Dom\DOMTokenList as GtDomTokenList;
10+
use Gt\Dom\DOMTokenListFactory as GtDomTokenListFactory;
1111
use Magento\Framework\ObjectManagerInterface;
1212
use Magento\PageBuilder\Model\Dom\Adapter\TokenListInterface;
1313

@@ -22,19 +22,19 @@ class TokenList implements TokenListInterface
2222
private $objectManager;
2323

2424
/**
25-
* @var GtDomTokenList
25+
* @var GtDomTokenListFactory
2626
*/
2727
private $tokenList;
2828

2929
/**
3030
* TokenList constructor.
3131
*
3232
* @param ObjectManagerInterface $objectManager
33-
* @param GtDomTokenList $tokenList
33+
* @param GtDomTokenListFactory $tokenList
3434
*/
3535
public function __construct(
3636
ObjectManagerInterface $objectManager,
37-
GtDomTokenList $tokenList
37+
GtDomTokenListFactory $tokenList
3838
) {
3939
$this->objectManager = $objectManager;
4040
$this->tokenList = $tokenList;

0 commit comments

Comments
 (0)