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

isSubscribedBy expects an int #12

ctf0 opened this issue Jul 10, 2019 · 2 comments


None yet
2 participants
Copy link

commented Jul 10, 2019

* Check if user is subscribed by given user.
* @param int $user
* @return bool
public function isSubscribedBy($user)
return Interaction::isRelationExists($this, 'subscribers', $user);

does it mean i should send an id or is it a doc typo ?


This comment has been minimized.

Copy link

commented Jul 11, 2019

It's a typo, it should not be int
It should be an eloquent object


This comment has been minimized.

Copy link
Contributor Author

commented Jul 11, 2019

i will send a PR with the fix

@ctf0 ctf0 closed this Jul 11, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.