@@ -44,7 +44,7 @@ |
||
44 | 44 | public static function applyCallback(callable $callback, NodeInterface $root, $targetClass = ChildNodeInterface::class) |
45 | 45 | { |
46 | 46 | $processed = []; |
47 | - $f = function (ChildNodeInterface $targetNode) use ($callback, $targetClass, &$f, &$processed) { |
|
47 | + $f = function(ChildNodeInterface $targetNode) use ($callback, $targetClass, &$f, &$processed) { |
|
48 | 48 | if (in_array($targetNode, $processed, true)) { |
49 | 49 | return; |
50 | 50 | } |