Skip to content

collision with eloquentFilter\QueryFilter\ModelFilters\Filterable::boot #214

Open
@dungnh

Description

@dungnh

Describe the bug
In the latest version, you are putting the boot method in the trait, which can conflict with the model boot. Please check to see if you can move that boot method.

To Reproduce
Steps to reproduce the behavior:
For example, the User model has boot method and use the trait Filterable, it will not install the package with error:
Fatal error: Trait method App\Models\Traits\Uuid::boot has not been applied as App\Models\User::boot, because of collision with eloquentFilter\QueryFilter\ModelFilters\Filterable::boot

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