@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | ->make("config") |
50 | 50 | ->get("laravel-model-caching.use-database-keying"); |
51 | 51 | |
52 | - if (! $useDatabaseKeying) { |
|
52 | + if (!$useDatabaseKeying) { |
|
53 | 53 | $this->error("Database keying must be enabled in 'config/laravel-model-caching.php'."); |
54 | 54 | $this->line("No caches were flushed."); |
55 | 55 | |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | |
59 | 59 | // get all tags |
60 | 60 | $tags = collect() |
61 | - ->filter(function ($tag) use ($database) { |
|
61 | + ->filter(function($tag) use ($database) { |
|
62 | 62 | $parts = explode(":", $tag); |
63 | 63 | |
64 | 64 | return ($parts[3] ?? "") === $database; |
@@ -77,7 +77,7 @@ discard block |
||
77 | 77 | $usesCachableTrait = $this->getAllTraitsUsedByClass($modelClass) |
78 | 78 | ->contains("GeneaLabs\LaravelModelCaching\Traits\Cachable"); |
79 | 79 | |
80 | - if (! $usesCachableTrait) { |
|
80 | + if (!$usesCachableTrait) { |
|
81 | 81 | $this->error("'{$modelClass}' is not an instance of CachedModel."); |
82 | 82 | $this->line("Only CachedModel instances can be flushed."); |
83 | 83 |