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.
2 parents 86aeaa7 + 6f14d83 commit 7e9980cCopy full SHA for 7e9980c
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