Skip to content

Commit 8f7fb8a

Browse files
committed
HierarchicalPoolInterface extends CacheItemPoolInterface
This will fix php-cache/issues#48
1 parent 3150736 commit 8f7fb8a

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

NamespacedCachePool.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
class NamespacedCachePool implements CacheItemPoolInterface
2525
{
2626
/**
27-
* @type HierarchicalPoolInterface|CacheItemPoolInterface
27+
* @type HierarchicalPoolInterface
2828
*/
2929
private $cachePool;
3030

Tests/HelperInterface.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212
namespace Cache\Namespaced\Tests;
1313

1414
use Cache\Hierarchy\HierarchicalPoolInterface;
15-
use Psr\Cache\CacheItemPoolInterface;
1615

17-
interface HelperInterface extends HierarchicalPoolInterface, CacheItemPoolInterface
16+
interface HelperInterface extends HierarchicalPoolInterface
1817
{
1918
}

0 commit comments

Comments
 (0)