|
@@ -50,9 +50,9 @@ |
|
|
block discarded – undo |
|
50
|
50
|
$template = Yaml::parse($template->getContents()); |
|
51
|
51
|
$components = $template['components'] ?? []; |
|
52
|
52
|
|
|
53
|
|
- $node_compactor = static fn (iterable $node_iterator) => array_reduce( |
|
|
53
|
+ $node_compactor = static fn(iterable $node_iterator) => array_reduce( |
|
54
|
54
|
iterator_to_array($node_iterator), |
|
55
|
|
- static fn ($carry, $item) => array_merge($carry, $item), |
|
|
55
|
+ static fn($carry, $item) => array_merge($carry, $item), |
|
56
|
56
|
[], |
|
57
|
57
|
); |
|
58
|
58
|
|
Please login to merge, or discard this patch.