Skip to content

Commit c6bf3ee

Browse files
committed
PB-369: Integrate third party library to work with DOMDocument
- fix static failure
1 parent 980e76d commit c6bf3ee

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/code/Magento/PageBuilder/Model/Dom/Adapter/DocumentFragmentInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,5 @@ public function querySelectorAll(string $selector): HtmlCollectionInterface;
3939
/**
4040
* Returns string content of fragment
4141
*/
42-
public function prop_get_innerText(): string;
42+
public function propGetInnerText(): string;
4343
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public function querySelectorAll(string $selector): HtmlCollectionInterface
7474
/**
7575
* @inheritDoc
7676
*/
77-
public function prop_get_innerText(): string
77+
public function propGetInnerText(): string
7878
{
7979
return $this->documentFragment->prop_get_innerText();
8080
}

0 commit comments

Comments
 (0)