@@ -147,7 +147,7 @@ discard block |
||
147 | 147 | /** |
148 | 148 | * Sets the expiration time for this cache item. |
149 | 149 | * |
150 | - * @param \DateTimeInterface $expiration The point in time after which the item MUST be considered expired. |
|
150 | + * @param \DateTime $expiration The point in time after which the item MUST be considered expired. |
|
151 | 151 | * If null is passed explicitly, a default value MAY be used. If none is |
152 | 152 | * set, the value should be stored permanently or for as long as the |
153 | 153 | * implementation allows. |
@@ -166,7 +166,7 @@ discard block |
||
166 | 166 | /** |
167 | 167 | * Sets the expiration time for this cache item. |
168 | 168 | * |
169 | - * @param int|\DateInterval $time The period of time from the present after which the item MUST be considered |
|
169 | + * @param integer $time The period of time from the present after which the item MUST be considered |
|
170 | 170 | * expired. An integer parameter is understood to be the time in seconds until |
171 | 171 | * expiration. |
172 | 172 | * |