Skip to content
This repository was archived by the owner on Jul 15, 2021. It is now read-only.
This repository was 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

@emprove

Description

@emprove

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions