Declaration of Pivot::setKeysForSaveQuery() should be compatible with Model::setKeysForSaveQuery
I'm using the 4.0 branch and just did a composer update. After updating the following error keeps showing up.
Declaration of Illuminate\Database\Eloquent\Relations\Pivot::setKeysForSaveQuery() should be compatible with Illuminate\Database\Eloquent\Model::setKeysForSaveQuery(Illuminate\Database\Eloquent\Builder $query)
I am getting this as well.
It's an easy fix, on that pivot method it is missing the Builder, like setKeysForSaveQuery(Builder $query) we need to add the use Illuminate\...\Builder; at the top.
Just pushed a fix. Composer update in a minute and let me know if it's fixed.
awesome
Thanks! :+1:
Fixed it for me too :+1: thank you @taylorotwell for being so quick at releasing a fix.