New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Declaration of Franzose\ClosureTable\Entity::performUpdate() should be compatible #39
Comments
Just fyi, it complains about both |
Seems to be ok again after importing builder in Entitiy.php:
and Updating both declarations:
|
@ben-joostens, It's strange but I have no such messages as you have... Would you like to make the pull request with these changes? Otherwise I can do it myself. |
@franzose Alright, pull request made. |
@ben-joostens, thank you man! Please, however, make all your further pulls to 2.0 branch. |
I continue to see these messages in my php error log: |
Even with |
Yes, that's bizarre. Anyway, i cloned again and the problem doesn't appear anymore, so probably it was a git cache issue. |
All of a sudden I'm getting this error…
Declaration of Franzose\ClosureTable\Entity::performUpdate() should be compatible with Illuminate\Database\Eloquent\Model::performUpdate(Illuminate\Database\Eloquent\Builder $query)
The declaration in Entity looks like this:
protected function performUpdate($query)
And in core:
protected function performUpdate(Builder $query)
The text was updated successfully, but these errors were encountered: