Skip to content

Commit 8e8ed78

Browse files
committed
Updated interfaces
1 parent 6168ae6 commit 8e8ed78

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

FilesystemCachePool.php

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -115,15 +115,10 @@ protected function clearOneObjectFromCache($key)
115115
*/
116116
protected function storeItemInCache(PhpCacheItem $item, $ttl)
117117
{
118-
$tags = [];
119-
if ($item instanceof TaggableItemInterface) {
120-
$tags = $item->getTags();
121-
}
122-
123118
$data = serialize(
124119
[
125120
$item->get(),
126-
$tags,
121+
$item->getTags(),
127122
$item->getExpirationTimestamp(),
128123
]
129124
);

0 commit comments

Comments
 (0)