Skip to content

Commit 28c5ec1

Browse files
committed
Minor optimizations and rephrases.
1 parent f34576f commit 28c5ec1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Importer/SimpleArray.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ protected function arrayToTree(array $data): NodeInterface
3636

3737
$node = $this->createNode($data['value']);
3838

39-
foreach ($data['children'] as $key => $child) {
39+
foreach ($data['children'] as $child) {
4040
$node->add($this->arrayToTree($child));
4141
}
4242

0 commit comments

Comments
 (0)