Skip to content

Commit 2fc0bf8

Browse files
committed
PHPUnit 10 static test fixes
1 parent 591c96c commit 2fc0bf8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev/tests/integration/testsuite/Magento/PageBuilder/Setup/Converters/PageBuilderStripStylesTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public function testConvert(string $htmlString, int $expectedStyleTags)
6666
$styleAttr = $node->getAttribute('style');
6767

6868
if ($styleAttr) {
69-
if($xpathAfter->query('//body/style[last()]')->item(0)){
69+
if ($xpathAfter->query('//body/style[last()]')->item(0)) {
7070
$getInternalStyles = $xpathAfter->query('//body/style[last()]')->item(0)->textContent;
7171
}
7272
$styleRules[] = $styleAttr;

0 commit comments

Comments
 (0)