Skip to content

Commit ee0dd33

Browse files
committed
Style and fix version for test
1 parent 21d09c1 commit ee0dd33

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

composer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@
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
{

src/RedisCachePool.php

+2-2
Original file line numberDiff line numberDiff 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);

0 commit comments

Comments
 (0)