Skip to content

Commit

Permalink
refactor(cache): update CacheInterface references and remove deprecat…
Browse files Browse the repository at this point in the history
…ed Repository interface (#810)

* refactor(cache): update CacheInterface references and remove deprecated Repository interface

* Optimized

* Fixed

---------

Co-authored-by: Deeka Wong <[email protected]>
  • Loading branch information
huangdijia and huangdijia authored Dec 21, 2024
1 parent ba28a92 commit ce04ed5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion en/components/cache.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ composer require friendsofhyperf/cache
```php
namespace App\Controller;

use FriendsOfHyperf\Cache\Contract\Repository as CacheInterface;
use FriendsOfHyperf\Cache\Contract\CacheInterface;
use Hyperf\Di\Annotation\Inject;

class IndexController
Expand Down
2 changes: 1 addition & 1 deletion zh_CN/components/cache.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ composer require friendsofhyperf/cache
```php
namespace App\Controller;

use FriendsOfHyperf\Cache\Contract\Repository as CacheInterface;
use FriendsOfHyperf\Cache\Contract\CacheInterface;
use Hyperf\Di\Annotation\Inject;

class IndexController
Expand Down

0 comments on commit ce04ed5

Please sign in to comment.