@@ -63,6 +63,9 @@ |
||
63 | 63 | $this->ttl = $ttl / 1000; |
64 | 64 | } |
65 | 65 | |
66 | + /** |
|
67 | + * @param string $key |
|
68 | + */ |
|
66 | 69 | public function getItem($key) |
67 | 70 | { |
68 | 71 | if ($items = $this->getValidInMemoryCacheItems([$key])) { |
@@ -368,9 +368,8 @@ |
||
368 | 368 | } |
369 | 369 | |
370 | 370 | /** |
371 | - * @param $key |
|
372 | - * @param null $value If null the cache item will be assumed to be a cache miss here. |
|
373 | - * @param int $defaultLifetime |
|
371 | + * @param string $key |
|
372 | + * @param boolean|null $value If null the cache item will be assumed to be a cache miss here. |
|
374 | 373 | * |
375 | 374 | * @return CacheItem |
376 | 375 | */ |