Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennis Eichhorn committed Oct 22, 2023
1 parent 630a38b commit d8e0d40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Stdlib/Tree/BinarySearchTree.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public function __construct(Node $root = null)
*
* @since 1.0.0
*/
public function search(mixed $data) : ?Node
public function &search(mixed $data) : ?Node
{
if ($this->root === null) {
return null;
Expand Down

0 comments on commit d8e0d40

Please sign in to comment.