We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6cbdea7 commit 42bc604Copy full SHA for 42bc604
CacheItemPool.php
@@ -4,6 +4,7 @@
4
5
use Exception;
6
use Psr\Cache\{CacheItemInterface, CacheItemPoolInterface};
7
+use Psr\SimpleCache\CacheInterface;
8
use function Koded\Stdlib\now;
9
10
abstract class CacheItemPool implements CacheItemPoolInterface
@@ -128,10 +129,10 @@ public function saveDeferred(CacheItemInterface $item): bool
128
129
*
130
* This method is not part of the PSR-6.
131
- * @return Cache
132
+ * @return CacheInterface
133
*/
- public function client(): Cache
134
+ public function client(): CacheInterface
135
{
- return $this->client;
136
+ return $this->client->client();
137
}
138
0 commit comments