|
@@ -23,6 +23,9 @@ discard block |
|
|
block discarded – undo |
|
23
|
23
|
|
|
24
|
24
|
private $collection; |
|
25
|
25
|
|
|
|
26
|
+ /** |
|
|
27
|
+ * @param string $collectionName |
|
|
28
|
+ */ |
|
26
|
29
|
public function __construct(Database $database, $collectionName) |
|
27
|
30
|
{ |
|
28
|
31
|
$this->collection = $database |
|
@@ -150,7 +153,7 @@ discard block |
|
|
block discarded – undo |
|
150
|
153
|
* |
|
151
|
154
|
* @param string $key The key of the item to store. |
|
152
|
155
|
* @param mixed $value The value of the item to store, must be serializable. |
|
153
|
|
- * @param null|int|\DateInterval $ttl Optional. The TTL value of this item. If no value is sent and |
|
|
156
|
+ * @param integer|null $ttl Optional. The TTL value of this item. If no value is sent and |
|
154
|
157
|
* the driver supports TTL then the library may set a default value |
|
155
|
158
|
* for it or let the driver take care of that. |
|
156
|
159
|
* @param array $tags List of tags |
Please login to merge, or discard this patch.