@@ -55,7 +55,7 @@ discard block |
||
| 55 | 55 | * from the pool. |
| 56 | 56 | * @param string $key The item key |
| 57 | 57 | * @param mixed $value The item value (unserialized) |
| 58 | - * @param \DateTime|integer|null $ttl |
|
| 58 | + * @param integer|null $ttl |
|
| 59 | 59 | * @param bool $hit Was this item retrived from cache? |
| 60 | 60 | */ |
| 61 | 61 | public function __construct($key, $value = null, $ttl = null, $hit = false) |
@@ -69,6 +69,7 @@ discard block |
||
| 69 | 69 | /** |
| 70 | 70 | * Returns a normalised key. |
| 71 | 71 | * |
| 72 | + * @param string $key |
|
| 72 | 73 | * @return string |
| 73 | 74 | */ |
| 74 | 75 | public static function normalizedKey($key) |