Skip to content

Commit 1769b75

Browse files
committed
Tagging bugfix and updated tests to ^0.9
1 parent dc58b65 commit 1769b75

File tree

2 files changed

+33
-3
lines changed

2 files changed

+33
-3
lines changed

CachePoolChain.php

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ public function __construct(array $pools)
3636
$this->pools = $pools;
3737
}
3838

39+
/**
40+
* {@inheritdoc}
41+
*/
3942
public function getItem($key)
4043
{
4144
$found = false;
@@ -64,6 +67,9 @@ public function getItem($key)
6467
return $item;
6568
}
6669

70+
/**
71+
* {@inheritdoc}
72+
*/
6773
public function getItems(array $keys = [])
6874
{
6975
$hits = [];
@@ -85,6 +91,9 @@ public function getItems(array $keys = [])
8591
return array_merge($hits, $items);
8692
}
8793

94+
/**
95+
* {@inheritdoc}
96+
*/
8897
public function hasItem($key)
8998
{
9099
foreach ($this->pools as $pool) {
@@ -96,6 +105,9 @@ public function hasItem($key)
96105
return false;
97106
}
98107

108+
/**
109+
* {@inheritdoc}
110+
*/
99111
public function clear()
100112
{
101113
$result = true;
@@ -106,6 +118,9 @@ public function clear()
106118
return $result;
107119
}
108120

121+
/**
122+
* {@inheritdoc}
123+
*/
109124
public function deleteItem($key)
110125
{
111126
$result = true;
@@ -116,6 +131,9 @@ public function deleteItem($key)
116131
return $result;
117132
}
118133

134+
/**
135+
* {@inheritdoc}
136+
*/
119137
public function deleteItems(array $keys)
120138
{
121139
$result = true;
@@ -126,6 +144,9 @@ public function deleteItems(array $keys)
126144
return $result;
127145
}
128146

147+
/**
148+
* {@inheritdoc}
149+
*/
129150
public function save(CacheItemInterface $item)
130151
{
131152
$result = true;
@@ -136,6 +157,9 @@ public function save(CacheItemInterface $item)
136157
return $result;
137158
}
138159

160+
/**
161+
* {@inheritdoc}
162+
*/
139163
public function saveDeferred(CacheItemInterface $item)
140164
{
141165
$result = true;
@@ -146,6 +170,9 @@ public function saveDeferred(CacheItemInterface $item)
146170
return $result;
147171
}
148172

173+
/**
174+
* {@inheritdoc}
175+
*/
149176
public function commit()
150177
{
151178
$result = true;
@@ -156,6 +183,9 @@ public function commit()
156183
return $result;
157184
}
158185

186+
/**
187+
* {@inheritdoc}
188+
*/
159189
public function clearTags(array $tags)
160190
{
161191
$result = true;

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@
2626
"require": {
2727
"php": "^5.5|^7.0",
2828
"psr/cache": "^1.0",
29-
"cache/adapter-common": "^0.2",
30-
"cache/taggable-cache": "^0.3"
29+
"cache/adapter-common": "^0.3",
30+
"cache/taggable-cache": "^0.4"
3131
},
3232
"require-dev": {
3333
"phpunit/phpunit": "^4.0|^5.1",
3434
"cache/predis-adapter": "@stable",
3535
"cache/array-adapter": "@stable",
36-
"cache/integration-tests": "0.9.0"
36+
"cache/integration-tests": "^0.9"
3737
},
3838
"provide": {
3939
"psr/cache-implementation": "^1.0"

0 commit comments

Comments
 (0)