@@ -77,6 +77,9 @@ |
||
77 | 77 | $this->ttl = $ttl; |
78 | 78 | } |
79 | 79 | |
80 | + /** |
|
81 | + * @param string $key |
|
82 | + */ |
|
80 | 83 | public function getItem($key) |
81 | 84 | { |
82 | 85 | if ($items = $this->getValidInMemoryCacheItems([$key])) { |
@@ -112,8 +112,8 @@ |
||
112 | 112 | } |
113 | 113 | |
114 | 114 | /** |
115 | - * @param $key |
|
116 | - * @param null $value If null the cache item will be assumed to be a cache miss here. |
|
115 | + * @param string $key |
|
116 | + * @param boolean $value If null the cache item will be assumed to be a cache miss here. |
|
117 | 117 | * @param int $defaultLifetime |
118 | 118 | * |
119 | 119 | * @return CacheItem |