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