File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 3333 "psr/cache" : " 1.0.0" ,
3434 "cache/adapter-common" : " ^0.2" ,
3535 "cache/taggable-cache" : " ^0.3" ,
36- "cache/hierarchical-cache" : " ^0.1 "
36+ "cache/hierarchical-cache" : " ^0.2 "
3737 },
3838 "require-dev" :
3939 {
4040 "phpunit/phpunit" : " ^5.1|^4.0" ,
41- "cache/integration-tests" : " dev-master "
41+ "cache/integration-tests" : " ^0.7 "
4242 },
4343 "provide" :
4444 {
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ public function __construct(\Redis $cache)
3939 protected function fetchObjectFromCache ($ key )
4040 {
4141 if (false === $ result = unserialize ($ this ->cache ->get ($ this ->getHierarchyKey ($ key )))) {
42- return [false , null ];
42+ return [false , null ];
4343 }
4444
4545 return $ result ;
@@ -62,7 +62,7 @@ protected function clearOneObjectFromCache($key)
6262
6363 protected function storeItemInCache ($ key , CacheItemInterface $ item , $ ttl )
6464 {
65- $ key = $ this ->getHierarchyKey ($ key );
65+ $ key = $ this ->getHierarchyKey ($ key );
6666 $ data = serialize ([true , $ item ->get ()]);
6767 if ($ ttl === null ) {
6868 return $ this ->cache ->set ($ key , $ data );
You can’t perform that action at this time.
0 commit comments