Closed olivM closed 4 years ago
Will fix ASAP ... wonder why that didn't show when testing. Might need to add another test.
@olivM can you try release 0.8.8? Should be fixed now.
same error with 0.8.8 Caching::applyScopes() hasn't changed : https://github.com/GeneaLabs/laravel-model-caching/blob/master/src/Traits/Caching.php#L35
Lordie! I forgot to push my commits. Try 0.8.9. Thanks for letting me know!
Declaration of GeneaLabs\LaravelModelCaching\Traits\Cachable::applyScopes(): GeneaLabs\LaravelModelCaching\Traits\Cachable must be compatible with App\Models\Teaching::applyScopes(): App\Models\Teaching
seems the newly added applyScopes with return type hinting is causing a problem