fix tests

This commit is contained in:
Dennis Eichhorn 2023-10-22 19:20:45 +00:00
parent 630a38b897
commit d8e0d40c6a

View File

@ -53,7 +53,7 @@ class BinarySearchTree
*
* @since 1.0.0
*/
public function search(mixed $data) : ?Node
public function &search(mixed $data) : ?Node
{
if ($this->root === null) {
return null;