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 86aeaa7 commit 6f14d83Copy full SHA for 6f14d83
src/CSSList/CSSBlockList.php
@@ -33,7 +33,7 @@ public function getAllDeclarationBlocks(): array
33
if ($item instanceof DeclarationBlock) {
34
$result[] = $item;
35
} elseif ($item instanceof CSSBlockList) {
36
- $result = \array_merge($result, $item->getAllDeclarationBlocks());
+ \array_push($result, ...$item->getAllDeclarationBlocks());
37
}
38
39
0 commit comments