mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-11 22:38:42 +00:00
fix tests
This commit is contained in:
parent
630a38b897
commit
d8e0d40c6a
|
|
@ -53,7 +53,7 @@ class BinarySearchTree
|
||||||
*
|
*
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
public function search(mixed $data) : ?Node
|
public function &search(mixed $data) : ?Node
|
||||||
{
|
{
|
||||||
if ($this->root === null) {
|
if ($this->root === null) {
|
||||||
return null;
|
return null;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user