Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/Cache/FixedTaggingCachePool.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,9 @@ public function deleteItems(array $keys)
*/
public function save(CacheItemInterface $item)
{
$this->addTags($item);
if ($item instanceof TaggableItemInterface) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TaggableItemInterface is deprecated. We should move towards TaggableCacheItemInterface.

I will merge this and the look over the bundles to see what changes we need to do for the latest version of tags.

$this->addTags($item);
}

return $this->cache->save($item);
}
Expand Down