Skip to content

Commit 79e1892

Browse files
committed
Split it up
1 parent e65c95f commit 79e1892

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/CSSList/CSSBlockList.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ public function getAllDeclarationBlocks(): array
3333
if ($item instanceof DeclarationBlock) {
3434
$result[] = $item;
3535
} elseif ($item instanceof CSSBlockList) {
36-
\array_push($result, ...$item->getAllDeclarationBlocks());
36+
$subBlocks = $item->getAllDeclarationBlocks();
37+
\array_push($result, ...$subBlocks);
3738
}
3839
}
3940

0 commit comments

Comments
 (0)