Skip to content

Commit 1203820

Browse files
nikita2206Nyholm
authored andcommitted
Expect ClientInterface in PredisCachePool instead of concrete Client (#93)
* Expect ClientInterface in PredisCachePool instead of concrete Client * Update changelog about Predis\ClientInterface
1 parent 1618a42 commit 1203820

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

Changelog.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ The change log describes what is "Added", "Removed", "Changed" or "Fixed" betwee
44

55
## UNRELEASED
66

7+
## 0.4.2
8+
9+
### Changed
10+
11+
* Rely on `Predis\ClientInterface` instead of `Predis\Client` in `PredisCachePool`
12+
713
## 0.4.1
814

915
### Changed

PredisCachePool.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
use Cache\Taggable\TaggableItemInterface;
1818
use Cache\Taggable\TaggablePoolInterface;
1919
use Cache\Taggable\TaggablePoolTrait;
20-
use Predis\Client;
20+
use Predis\ClientInterface as Client;
2121
use Psr\Cache\CacheItemInterface;
2222

2323
/**

0 commit comments

Comments
 (0)