Skip to content

Argument 1 passed to Illuminate\Database\Eloquent\Builder::__construct() must be an instance of Illuminate\Database\Query\Builder, instance of Illuminate\Database\Eloquent\Builder given #377

@Davidnadejdin

Description

@Davidnadejdin

I want to do so
image

And getting an error
Argument 1 passed to Illuminate\Database\Eloquent\Builder::__construct() must be an instance of Illuminate\Database\Query\Builder, instance of Illuminate\Database\Eloquent\Builder given

What is the point of binding tightly to a specific implementation of Query Builder?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions