diff --git a/src/Traits/Cachable.php b/src/Traits/Cachable.php index 3339722..3f309c3 100644 --- a/src/Traits/Cachable.php +++ b/src/Traits/Cachable.php @@ -21,9 +21,7 @@ protected function cache(array $tags = []) } if (is_subclass_of($cache->getStore(), TaggableStore::class)) { - if (is_a($this, CachedModel::class)) { - array_push($tags, str_slug(get_called_class())); - } + array_push($tags, str_slug(get_called_class())); $cache = $cache->tags($tags); }