We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e65c95f commit 79e1892Copy full SHA for 79e1892
src/CSSList/CSSBlockList.php
@@ -33,7 +33,8 @@ public function getAllDeclarationBlocks(): array
33
if ($item instanceof DeclarationBlock) {
34
$result[] = $item;
35
} elseif ($item instanceof CSSBlockList) {
36
- \array_push($result, ...$item->getAllDeclarationBlocks());
+ $subBlocks = $item->getAllDeclarationBlocks();
37
+ \array_push($result, ...$subBlocks);
38
}
39
40
0 commit comments