Skip to content

Commit 23e57e0

Browse files
committed
Test compatibility patch for recent PHP versions
(removes deprecated warning)
1 parent 43f134e commit 23e57e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/setup.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public static function reduce(
5151
return $carry;
5252
}
5353

54-
public static function visualize(TreeNodeContract $root, callable $iteratorDecorator = null):array
54+
public static function visualize(TreeNodeContract $root, ?callable $iteratorDecorator = null):array
5555
{
5656
$it = new PreOrderTraversal($root, fn(
5757
TreeNodeContract $node,

0 commit comments

Comments
 (0)