File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -129,10 +129,10 @@ public function saveDeferred(CacheItemInterface $item): bool
129129 *
130130 * This method is not part of the PSR-6.
131131 *
132- * @return CacheInterface
132+ * @return Cache
133133 */
134- public function client (): CacheInterface
134+ public function client (): Cache
135135 {
136- return $ this ->client -> client () ;
136+ return $ this ->client ;
137137 }
138138}
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ public function createCachePool()
1818 [
1919 'host ' => getenv ('REDIS_SERVER_HOST ' ),
2020 ]);
21- $ client ->client ()->connect ();
21+ $ client ->client ()->client ()-> connect ();
2222 return $ client ;
2323 } catch (CacheException $ e ) {
2424 $ this ->markTestSkipped ($ e ->getMessage ());
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ public function createCachePool()
2121 'serializer ' => Serializer::JSON ,
2222 'binary ' => Serializer::PHP ,
2323 ]);
24- $ client ->client ()->connect ();
24+ $ client ->client ()->client ()-> connect ();
2525 return $ client ;
2626 } catch (CacheException $ e ) {
2727 $ this ->markTestSkipped ($ e ->getMessage ());
You can’t perform that action at this time.
0 commit comments