Skip to content
This repository has been archived by the owner on Jul 15, 2021. It is now read-only.

return Comment class must be instance of Actuallymab\LaravelComment\Models\Comment #49

Open
emprove opened this issue May 21, 2019 · 0 comments

Comments

@emprove
Copy link

emprove commented May 21, 2019

here \Actuallymab\LaravelComment\CanComment we have return comment(): Comment.
I use my own Comment class. I think, it should return something like Commentable contract or just remove ": Comment". Currently it is need to override trait's comment() method. Or maybe i do things wrong?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant