Skip to content

Commit f850baa

Browse files
committed
Using timestamp instead of DateTime
1 parent f4d6b69 commit f850baa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ArrayCachePool.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
* with this source code in the file LICENSE.
1010
*/
1111

12-
1312
namespace Cache\Adapter\PHPArray;
1413

1514
use Cache\Adapter\Common\AbstractCachePool;
1615
use Cache\Adapter\Common\CacheItem;
16+
use Cache\Adapter\Common\PhpCacheItem;
1717
use Cache\Hierarchy\HierarchicalCachePoolTrait;
1818
use Cache\Hierarchy\HierarchicalPoolInterface;
1919
use Cache\Taggable\TaggableItemInterface;
@@ -136,7 +136,7 @@ protected function clearOneObjectFromCache($key)
136136
/**
137137
* {@inheritdoc}
138138
*/
139-
protected function storeItemInCache(CacheItemInterface $item, $ttl)
139+
protected function storeItemInCache(PhpCacheItem $item, $ttl)
140140
{
141141
$key = $this->getHierarchyKey($item->getKey());
142142
$this->cache[$key] = $item;

0 commit comments

Comments
 (0)