Skip to content

Commit 980e76d

Browse files
committed
PB-369: Integrate third party library to work with DOMDocument
- update wrapper classes
1 parent f7a4adc commit 980e76d

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public function setAttribute($name, $value): ?AttrInterface;
5858
* Returns the first element matching the specified selector.
5959
*
6060
* @param string $selector
61-
* @return HtmlCollectionInterface
61+
* @return ElementInterface
6262
*/
6363
public function querySelector(string $selector): ElementInterface;
6464

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ public function offsetGet($offset): ?ElementInterface;
8484
*
8585
* @param int $offset
8686
* @param string $value
87+
* @return void
8788
*/
8889
public function offsetSet($offset, $value): void;
8990

app/code/Magento/PageBuilder/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"magento/module-require-js": "*",
2323
"magento/module-media-storage": "*",
2424
"php": "~7.1.3||~7.2.0||~7.3.0",
25-
"phpgt/dom": "^2.1.6"
25+
"phpgt/dom": "2.1.6"
2626
},
2727
"suggest": {
2828
"magento/module-review": "*"

0 commit comments

Comments
 (0)