We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b8b207 commit 3626a58Copy full SHA for 3626a58
1 file changed
src/CacheInterface.php
@@ -34,7 +34,7 @@ public function psr(): \Psr\SimpleCache\CacheInterface;
34
* ```php
35
* public function getTopProducts(int $count = 10) {
36
* $key = ['top-products', $count];
37
- * return $this->cache->getOrSet($key, function (\Yiisoft\Cache\CacheInterface $cache) use ($count) {
+ * return $this->cache->getOrSet($key, function (\Psr\SimpleCache\CacheInterface $cache) use ($count) {
38
* return $this->getTopNProductsFromDatabase($count);
39
* }, 1000);
40
* }
0 commit comments