@@ -24,11 +24,11 @@ |
||
24 | 24 | __DIR__.'/../config/laravel-cache.php' => config_path('laravel-cache.php'), |
25 | 25 | ], 'config'); |
26 | 26 | |
27 | - $this->app->bind(AlternativeCacheStore::class, function () { |
|
27 | + $this->app->bind(AlternativeCacheStore::class, function() { |
|
28 | 28 | return $this->app->make(CacheManager::class)->store()->getStore(); |
29 | 29 | }); |
30 | 30 | |
31 | - Event::listen(['eloquent.saved: *', 'eloquent.deleted: *', 'eloquent.restored: *'], function (Model $model) { |
|
31 | + Event::listen(['eloquent.saved: *', 'eloquent.deleted: *', 'eloquent.restored: *'], function(Model $model) { |
|
32 | 32 | /** @var CacheInvalidator $cacheInvalidator */ |
33 | 33 | $cacheInvalidator = $this->app->make(CacheInvalidator::class); |
34 | 34 | $cacheInvalidator->invalidateByModel($model); |