Skip to content

Conversation

@tkrause
Copy link

@tkrause tkrause commented Nov 10, 2017

In the documentation, it says you can do the following.

Book::search()...

On the latest Laravel version, __callStatic is called instead of __call on the model class directly. This causes it to call search() on the QueryBuilder of the ORM which doesn't exist and errors.

This pull request is to fix this this error and allow for the specified functionality. I do realize that there is another PR similar #120. However, there has been no reply to that PR in awhile.

@tkrause tkrause closed this Jul 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant