@@ -58,7 +58,7 @@ discard block |
||
| 58 | 58 | /** |
| 59 | 59 | * Obtain multiple CacheItems by their unique keys. |
| 60 | 60 | * |
| 61 | - * @param array $keys A list of keys that can obtained in a single operation. |
|
| 61 | + * @param string[] $keys A list of keys that can obtained in a single operation. |
|
| 62 | 62 | * |
| 63 | 63 | * @return array An associative array of CacheItem objects keyed on the cache key. |
| 64 | 64 | * |
@@ -104,7 +104,7 @@ discard block |
||
| 104 | 104 | /** |
| 105 | 105 | * Remove multiple cache items in a single operation. |
| 106 | 106 | * |
| 107 | - * @param array $keys The array of keys to be removed. |
|
| 107 | + * @param string[] $keys The array of keys to be removed. |
|
| 108 | 108 | * |
| 109 | 109 | * @return array An associative array of 'key' => result, elements. Each array row has the key being deleted |
| 110 | 110 | * and the result of that operation. The result will be a boolean of true or false |
@@ -128,7 +128,7 @@ discard block |
||
| 128 | 128 | * Set an option for the Cache instance. |
| 129 | 129 | * |
| 130 | 130 | * @param string $key The name of the option to set. |
| 131 | - * @param mixed $value The option value to set. |
|
| 131 | + * @param string $value The option value to set. |
|
| 132 | 132 | * |
| 133 | 133 | * @return Cache This object for method chaining. |
| 134 | 134 | * |
@@ -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 | * |
@@ -7,7 +7,6 @@ |
||
| 7 | 7 | namespace Joomla\Cache\Tests; |
| 8 | 8 | |
| 9 | 9 | use Joomla\Cache; |
| 10 | -use Joomla\Test\TestHelper; |
|
| 11 | 10 | |
| 12 | 11 | /** |
| 13 | 12 | * Tests for the Joomla\Cache\None class. |