Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small update needed for latest code. #3

Closed
fisharebest opened this issue Oct 16, 2019 · 2 comments
Closed

Small update needed for latest code. #3

fisharebest opened this issue Oct 16, 2019 · 2 comments
Labels
bug Something isn't working

Comments

@fisharebest
Copy link

In your boot() method, you type-hint two variables - $user and $tree.

https://github.com/vytux-com/vytux_cousins/blob/master/module.php#L262

  1. You do not use these variables so you do not need to specify them

  2. In the latest code, you cannot request the tree like this. Instead, you obtain it as an attribute of the request. $request->getAttribute('tree').

@vytux-com
Copy link
Owner

Thanks, fixed in 0de66a5

@melizaa
Copy link
Contributor

melizaa commented Oct 19, 2019

Works now as expected. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants