We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6168ae6 commit 8e8ed78Copy full SHA for 8e8ed78
1 file changed
FilesystemCachePool.php
@@ -115,15 +115,10 @@ protected function clearOneObjectFromCache($key)
115
*/
116
protected function storeItemInCache(PhpCacheItem $item, $ttl)
117
{
118
- $tags = [];
119
- if ($item instanceof TaggableItemInterface) {
120
- $tags = $item->getTags();
121
- }
122
-
123
$data = serialize(
124
[
125
$item->get(),
126
- $tags,
+ $item->getTags(),
127
$item->getExpirationTimestamp(),
128
]
129
);
0 commit comments