We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 43f134e commit 23e57e0Copy full SHA for 23e57e0
tests/setup.php
@@ -51,7 +51,7 @@ public static function reduce(
51
return $carry;
52
}
53
54
- public static function visualize(TreeNodeContract $root, callable $iteratorDecorator = null):array
+ public static function visualize(TreeNodeContract $root, ?callable $iteratorDecorator = null):array
55
{
56
$it = new PreOrderTraversal($root, fn(
57
TreeNodeContract $node,
0 commit comments