Skip to content

Commit b3b05ed

Browse files
committed
PB-369: Integrate third party library to work with DOMDocument
- fix health failures
1 parent bcba64d commit b3b05ed

File tree

3 files changed

+22
-2
lines changed

3 files changed

+22
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ class Document implements DocumentInterface
2323
/**
2424
* @var ObjectManagerInterface
2525
*/
26-
protected $objectManager;
26+
private $objectManager;
2727

2828
/**
2929
* @var GtDomDocument
3030
*/
31-
protected $document;
31+
private $document;
3232

3333
/**
3434
* Document constructor.

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,16 @@
1818
*/
1919
class HtmlDocument extends Document implements HtmlDocumentInterface
2020
{
21+
/**
22+
* @var ObjectManagerInterface
23+
*/
24+
private $objectManager;
25+
26+
/**
27+
* @var GtDomHTMLDocument
28+
*/
29+
private $document;
30+
2131
/**
2232
* HtmlDocument constructor.
2333
* @param ObjectManagerInterface $objectManager

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,16 @@
1616
*/
1717
class XmlDocument extends Document implements XmlDocumentInterface
1818
{
19+
/**
20+
* @var ObjectManagerInterface
21+
*/
22+
private $objectManager;
23+
24+
/**
25+
* @var GtDomXmlDocument
26+
*/
27+
private $document;
28+
1929
/**
2030
* XmlDocument constructor.
2131
*

0 commit comments

Comments
 (0)