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 50045f7 commit c905dc6Copy full SHA for c905dc6
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