Small update needed for latest code.
Closed this issue · 2 comments
fisharebest commented
In your boot()
method, you type-hint two variables - $user
and $tree
.
https://github.com/vytux-com/vytux_cousins/blob/master/module.php#L262
-
You do not use these variables so you do not need to specify them
-
In the latest code, you cannot request the tree like this. Instead, you obtain it as an attribute of the request.
$request->getAttribute('tree')
.
melizaa commented
Works now as expected. Thanks