Skip to content

Commit ce04ed5

Browse files
authored
refactor(cache): update CacheInterface references and remove deprecated Repository interface (#810)
* refactor(cache): update CacheInterface references and remove deprecated Repository interface * Optimized * Fixed --------- Co-authored-by: Deeka Wong <8337659+huangdijia@users.noreply.github.com>
1 parent ba28a92 commit ce04ed5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

en/components/cache.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ composer require friendsofhyperf/cache
1313
```php
1414
namespace App\Controller;
1515

16-
use FriendsOfHyperf\Cache\Contract\Repository as CacheInterface;
16+
use FriendsOfHyperf\Cache\Contract\CacheInterface;
1717
use Hyperf\Di\Annotation\Inject;
1818

1919
class IndexController

zh_CN/components/cache.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ composer require friendsofhyperf/cache
1717
```php
1818
namespace App\Controller;
1919

20-
use FriendsOfHyperf\Cache\Contract\Repository as CacheInterface;
20+
use FriendsOfHyperf\Cache\Contract\CacheInterface;
2121
use Hyperf\Di\Annotation\Inject;
2222

2323
class IndexController

0 commit comments

Comments
 (0)