@@ -22,6 +22,9 @@ |
||
22 | 22 | |
23 | 23 | protected $hit; |
24 | 24 | |
25 | + /** |
|
26 | + * @param string $key |
|
27 | + */ |
|
25 | 28 | public function __construct($key, $ttl = null, $hit = false) |
26 | 29 | { |
27 | 30 | $this->key = $key; |
@@ -1,12 +1,12 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * |
|
4 | - * PHP version 5.5 |
|
5 | - * |
|
6 | - * @package Cache |
|
7 | - * @author Sergey V.Kuzin <[email protected]> |
|
8 | - * @license MIT |
|
9 | - */ |
|
3 | + * |
|
4 | + * PHP version 5.5 |
|
5 | + * |
|
6 | + * @package Cache |
|
7 | + * @author Sergey V.Kuzin <[email protected]> |
|
8 | + * @license MIT |
|
9 | + */ |
|
10 | 10 | |
11 | 11 | namespace Cache; |
12 | 12 |
@@ -194,7 +194,7 @@ discard block |
||
194 | 194 | * |
195 | 195 | * @param CacheItemInterface[] $items |
196 | 196 | * |
197 | - * @return bool |
|
197 | + * @return boolean|null |
|
198 | 198 | * TRUE if all provided items were successfully saved. FALSE otherwise. |
199 | 199 | */ |
200 | 200 | protected function write(array $items) |
@@ -216,7 +216,7 @@ discard block |
||
216 | 216 | * If the $key string is not a legal value a \Psr\Cache\InvalidArgumentException |
217 | 217 | * MUST be thrown. |
218 | 218 | * |
219 | - * @return bool |
|
219 | + * @return boolean|null |
|
220 | 220 | * True if item exists in the cache, false otherwise. |
221 | 221 | */ |
222 | 222 | public function hasItem($key) |
@@ -1,12 +1,12 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * |
|
4 | - * PHP version 5.5 |
|
5 | - * |
|
6 | - * @package Cache |
|
7 | - * @author Sergey V.Kuzin <[email protected]> |
|
8 | - * @license MIT |
|
9 | - */ |
|
3 | + * |
|
4 | + * PHP version 5.5 |
|
5 | + * |
|
6 | + * @package Cache |
|
7 | + * @author Sergey V.Kuzin <[email protected]> |
|
8 | + * @license MIT |
|
9 | + */ |
|
10 | 10 | |
11 | 11 | namespace Cache; |
12 | 12 |
@@ -1,12 +1,12 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * |
|
4 | - * PHP version 5.5 |
|
5 | - * |
|
6 | - * @package Cache\Psr |
|
7 | - * @author Sergey V.Kuzin <[email protected]> |
|
8 | - * @license MIT |
|
9 | - */ |
|
3 | + * |
|
4 | + * PHP version 5.5 |
|
5 | + * |
|
6 | + * @package Cache\Psr |
|
7 | + * @author Sergey V.Kuzin <[email protected]> |
|
8 | + * @license MIT |
|
9 | + */ |
|
10 | 10 | |
11 | 11 | namespace Cache\Psr; |
12 | 12 |
@@ -1,12 +1,12 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * |
|
4 | - * PHP version 5.5 |
|
5 | - * |
|
6 | - * @package Cache |
|
7 | - * @author Sergey V.Kuzin <[email protected]> |
|
8 | - * @license MIT |
|
9 | - */ |
|
3 | + * |
|
4 | + * PHP version 5.5 |
|
5 | + * |
|
6 | + * @package Cache |
|
7 | + * @author Sergey V.Kuzin <[email protected]> |
|
8 | + * @license MIT |
|
9 | + */ |
|
10 | 10 | |
11 | 11 | namespace Cache; |
12 | 12 |
@@ -1,12 +1,12 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * |
|
4 | - * PHP version 5.5 |
|
5 | - * |
|
6 | - * @package Cache |
|
7 | - * @author Sergey V.Kuzin <[email protected]> |
|
8 | - * @license MIT |
|
9 | - */ |
|
3 | + * |
|
4 | + * PHP version 5.5 |
|
5 | + * |
|
6 | + * @package Cache |
|
7 | + * @author Sergey V.Kuzin <[email protected]> |
|
8 | + * @license MIT |
|
9 | + */ |
|
10 | 10 | |
11 | 11 | namespace Cache; |
12 | 12 |
@@ -1,12 +1,12 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * |
|
4 | - * PHP version 5.5 |
|
5 | - * |
|
6 | - * @package Cache\Psr |
|
7 | - * @author Sergey V.Kuzin <[email protected]> |
|
8 | - * @license MIT |
|
9 | - */ |
|
3 | + * |
|
4 | + * PHP version 5.5 |
|
5 | + * |
|
6 | + * @package Cache\Psr |
|
7 | + * @author Sergey V.Kuzin <[email protected]> |
|
8 | + * @license MIT |
|
9 | + */ |
|
10 | 10 | |
11 | 11 | namespace Cache; |
12 | 12 |
@@ -1,12 +1,12 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * |
|
4 | - * PHP version 5.5 |
|
5 | - * |
|
6 | - * @package Cache |
|
7 | - * @author Sergey V.Kuzin <[email protected]> |
|
8 | - * @license MIT |
|
9 | - */ |
|
3 | + * |
|
4 | + * PHP version 5.5 |
|
5 | + * |
|
6 | + * @package Cache |
|
7 | + * @author Sergey V.Kuzin <[email protected]> |
|
8 | + * @license MIT |
|
9 | + */ |
|
10 | 10 | |
11 | 11 | namespace Cache; |
12 | 12 |
@@ -1,12 +1,12 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * |
|
4 | - * PHP version 5.5 |
|
5 | - * |
|
6 | - * @package Cache |
|
7 | - * @author Sergey V.Kuzin <[email protected]> |
|
8 | - * @license MIT |
|
9 | - */ |
|
3 | + * |
|
4 | + * PHP version 5.5 |
|
5 | + * |
|
6 | + * @package Cache |
|
7 | + * @author Sergey V.Kuzin <[email protected]> |
|
8 | + * @license MIT |
|
9 | + */ |
|
10 | 10 | |
11 | 11 | namespace Cache; |
12 | 12 |
@@ -1,12 +1,12 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * |
|
4 | - * PHP version 5.5 |
|
5 | - * |
|
6 | - * @package Cache |
|
7 | - * @author Sergey V.Kuzin <[email protected]> |
|
8 | - * @license MIT |
|
9 | - */ |
|
3 | + * |
|
4 | + * PHP version 5.5 |
|
5 | + * |
|
6 | + * @package Cache |
|
7 | + * @author Sergey V.Kuzin <[email protected]> |
|
8 | + * @license MIT |
|
9 | + */ |
|
10 | 10 | |
11 | 11 | namespace Cache; |
12 | 12 |