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