File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 33
33
"psr/cache" : " 1.0.0" ,
34
34
"cache/adapter-common" : " ^0.2" ,
35
35
"cache/taggable-cache" : " ^0.3" ,
36
- "cache/hierarchical-cache" : " ^0.1 "
36
+ "cache/hierarchical-cache" : " ^0.2 "
37
37
},
38
38
"require-dev" :
39
39
{
40
40
"phpunit/phpunit" : " ^5.1|^4.0" ,
41
- "cache/integration-tests" : " dev-master "
41
+ "cache/integration-tests" : " ^0.7 "
42
42
},
43
43
"provide" :
44
44
{
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ public function __construct(\Redis $cache)
39
39
protected function fetchObjectFromCache ($ key )
40
40
{
41
41
if (false === $ result = unserialize ($ this ->cache ->get ($ this ->getHierarchyKey ($ key )))) {
42
- return [false , null ];
42
+ return [false , null ];
43
43
}
44
44
45
45
return $ result ;
@@ -62,7 +62,7 @@ protected function clearOneObjectFromCache($key)
62
62
63
63
protected function storeItemInCache ($ key , CacheItemInterface $ item , $ ttl )
64
64
{
65
- $ key = $ this ->getHierarchyKey ($ key );
65
+ $ key = $ this ->getHierarchyKey ($ key );
66
66
$ data = serialize ([true , $ item ->get ()]);
67
67
if ($ ttl === null ) {
68
68
return $ this ->cache ->set ($ key , $ data );
You can’t perform that action at this time.
0 commit comments