File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
lib/Qandidate/Toggle/ToggleCollection Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1313
1414namespace Qandidate \Toggle \ToggleCollection ;
1515
16- use Predis \Client ;
16+ use Predis \ClientInterface ;
1717use Qandidate \Toggle \Toggle ;
1818use Qandidate \Toggle \ToggleCollection ;
1919
2323class PredisCollection extends ToggleCollection
2424{
2525 /**
26- * @var Client
26+ * @var ClientInterface
2727 */
2828 private $ client ;
2929
@@ -32,13 +32,13 @@ class PredisCollection extends ToggleCollection
3232 */
3333 private $ namespace ;
3434
35- public function __construct (string $ namespace , Client $ client )
35+ public function __construct (string $ namespace , ClientInterface $ client )
3636 {
3737 $ this ->namespace = $ namespace ;
3838 $ this ->client = $ client ;
3939 }
4040
41- public function getClient (): Client
41+ public function getClient (): ClientInterface
4242 {
4343 return $ this ->client ;
4444 }
You can’t perform that action at this time.
0 commit comments