We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9782a4c + 82de600 commit a755769Copy full SHA for a755769
src/Traits/Cachable.php
@@ -22,9 +22,7 @@ protected function cache(array $tags = [])
22
}
23
24
if (is_subclass_of($cache->getStore(), TaggableStore::class)) {
25
- if (is_a($this, CachedModel::class)) {
26
- array_push($tags, str_slug(get_called_class()));
27
- }
+ array_push($tags, str_slug(get_called_class()));
28
29
$cache = $cache->tags($tags);
30
0 commit comments