hassansin / dbcart

Shopping Cart library for Laravel 5 that uses Database instead of Sessions
MIT License
25 stars 10 forks source link

Argument 1 passed to Illuminate\Database\Eloquent\Model::update() must be of the type array #5

Closed frismedia closed 7 years ago

frismedia commented 8 years ago

The Cart model methods 'expire' and 'complete' call the update method with 2 strings as arguments instead of the expected first argument of an array.

Maybe this is something changed in one of the versions of Laravel, but I'm using the latest and in that version this error exists.

hassansin commented 8 years ago

Thanks for opening the issue. I'll look into this soon.