Skip to content
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

ErrorException : Declaration of Staudenmeir\LaravelCte\Query\Grammars\CompilesExpressions::compileUpdate(Illuminate\Database\Query\Builder $query, $values) should be compatible with Illuminate\Database\Query\Grammars\Grammar::compileUpdate(Illuminate\Database\Query\Builder $query, array $values) #10

Closed
ljieyao opened this issue Jan 6, 2020 · 3 comments

Comments

@ljieyao
Copy link

ljieyao commented Jan 6, 2020

ErrorException : Declaration of Staudenmeir\LaravelCte\Query\Grammars\CompilesExpressions::compileUpdate(Illuminate\Database\Query\Builder $query, $values) should be compatible with Illuminate\Database\Query\Grammars\Grammar::compileUpdate(Illuminate\Database\Query\Builder $query, array $values)
@staudenmeir
Copy link
Owner

staudenmeir commented Jan 6, 2020

What's your PHP version?

What does your query look like?

@staudenmeir
Copy link
Owner

I know where the issue is coming from: Laravel 6 changed the method signature of compileUpdate().

What I don't understand is why you are the only getting this error.

@staudenmeir
Copy link
Owner

I've released a new version that fixes this issue.

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

No branches or pull requests

2 participants