mikebronner / laravel-model-caching

Eloquent model-caching made easy.
MIT License
2.26k stars 217 forks source link

fix: check if current binding is set before setting values #229

Closed mycarrysun closed 5 years ago

mycarrysun commented 5 years ago

Closes #227

mikebronner commented 5 years ago

@mycarrysun I wrote another test to make sure the current binding is working properly, and it looks like not incrementing it causes problems.

mycarrysun commented 5 years ago

Cool, yea wasn't sure what that prop did