@@ -147,7 +147,7 @@ |
||
| 147 | 147 | * |
| 148 | 148 | * @param string $key Key string for the given value like product/id/123 |
| 149 | 149 | * @param string $value Value string that should be stored for the given key |
| 150 | - * @param int|string|null $expires Date/time string in "YYYY-MM-DD HH:mm:ss" |
|
| 150 | + * @param string $expires Date/time string in "YYYY-MM-DD HH:mm:ss" |
|
| 151 | 151 | * format when the cache entry expires |
| 152 | 152 | * @param string[] $tags List of tag strings that should be assoicated to the |
| 153 | 153 | * given value in the cache |
@@ -69,10 +69,10 @@ |
||
| 69 | 69 | * Sets the value for the given key in the cache. |
| 70 | 70 | * |
| 71 | 71 | * @param string $key Key string for the given value like product/id/123 |
| 72 | - * @param mixed $value Value string that should be stored for the given key |
|
| 73 | - * @param int|string|null $expires Date/time string in "YYYY-MM-DD HH:mm:ss" |
|
| 72 | + * @param string $value Value string that should be stored for the given key |
|
| 73 | + * @param string $expires Date/time string in "YYYY-MM-DD HH:mm:ss" |
|
| 74 | 74 | * format or as TTL value when the cache entry expires |
| 75 | - * @param array $tags List of tag strings that should be assoicated to the |
|
| 75 | + * @param string[] $tags List of tag strings that should be assoicated to the |
|
| 76 | 76 | * given value in the cache |
| 77 | 77 | * @throws \Aimeos\MW\Cache\Exception If the cache server doesn't respond |
| 78 | 78 | */ |
@@ -220,7 +220,7 @@ |
||
| 220 | 220 | /** |
| 221 | 221 | * Returns the cached values for the given cache keys if available. |
| 222 | 222 | * |
| 223 | - * @param iterable $keys List of key strings for the requested cache entries |
|
| 223 | + * @param string[] $keys List of key strings for the requested cache entries |
|
| 224 | 224 | * @param mixed $default Default value to return for keys that do not exist |
| 225 | 225 | * @return array Associative list of key/value pairs for the requested cache |
| 226 | 226 | * entries. If a cache entry doesn't exist, neither its key nor a value |
@@ -214,7 +214,7 @@ |
||
| 214 | 214 | * array. No error or warning is returned in this case. If none of the keys |
| 215 | 215 | * is found in the cache, an empty array is returned. |
| 216 | 216 | * |
| 217 | - * @param iterable $keys List of key strings for the requested cache entries |
|
| 217 | + * @param string[] $keys List of key strings for the requested cache entries |
|
| 218 | 218 | * @param mixed $default Default value to return for keys that do not exist |
| 219 | 219 | * @return array Associative list of key/value pairs for the requested cache |
| 220 | 220 | * entries. If a cache entry doesn't exist, neither its key nor a value |
@@ -35,7 +35,7 @@ discard block |
||
| 35 | 35 | /** |
| 36 | 36 | * Removes the cache entries identified by the given keys. |
| 37 | 37 | * |
| 38 | - * @param iterable $keys List of key strings that identify the cache entries |
|
| 38 | + * @param string[] $keys List of key strings that identify the cache entries |
|
| 39 | 39 | * that should be removed |
| 40 | 40 | */ |
| 41 | 41 | public function deleteMultiple( $keys ) |
@@ -46,7 +46,7 @@ discard block |
||
| 46 | 46 | /** |
| 47 | 47 | * Removes the cache entries identified by the given tags. |
| 48 | 48 | * |
| 49 | - * @param array $tags List of tag strings that are associated to one or more |
|
| 49 | + * @param string[] $tags List of tag strings that are associated to one or more |
|
| 50 | 50 | * cache entries that should be removed |
| 51 | 51 | */ |
| 52 | 52 | public function deleteByTags( array $tags ) |
@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | * Returns the value of the requested cache key. |
| 74 | 74 | * |
| 75 | 75 | * @param string $name Path to the requested value like tree/node/classname |
| 76 | - * @param mixed $default Value returned if requested key isn't found |
|
| 76 | + * @param string $default Value returned if requested key isn't found |
|
| 77 | 77 | * @return mixed Value associated to the requested key |
| 78 | 78 | */ |
| 79 | 79 | public function get( $name, $default = null ) |
@@ -85,7 +85,7 @@ discard block |
||
| 85 | 85 | /** |
| 86 | 86 | * Returns the cached values for the given cache keys. |
| 87 | 87 | * |
| 88 | - * @param iterable $keys List of key strings for the requested cache entries |
|
| 88 | + * @param string[] $keys List of key strings for the requested cache entries |
|
| 89 | 89 | * @param mixed $default Default value to return for keys that do not exist |
| 90 | 90 | * @return array Associative list of key/value pairs for the requested cache |
| 91 | 91 | * entries. If a cache entry doesn't exist, neither its key nor a value |
@@ -106,7 +106,7 @@ discard block |
||
| 106 | 106 | /** |
| 107 | 107 | * Returns the cached keys and values associated to the given tags. |
| 108 | 108 | * |
| 109 | - * @param array $tags List of tag strings associated to the requested cache entries |
|
| 109 | + * @param string[] $tags List of tag strings associated to the requested cache entries |
|
| 110 | 110 | * @return array Associative list of key/value pairs for the requested cache |
| 111 | 111 | * entries. If a tag isn't associated to any cache entry, nothing is returned |
| 112 | 112 | * for that tag |
@@ -121,7 +121,7 @@ discard block |
||
| 121 | 121 | * Sets the value for the specified key. |
| 122 | 122 | * |
| 123 | 123 | * @param string $key Key string for the given value like product/id/123 |
| 124 | - * @param mixed $value Value string that should be stored for the given key |
|
| 124 | + * @param string $value Value string that should be stored for the given key |
|
| 125 | 125 | * @param int|string|null $expires Date/time string in "YYYY-MM-DD HH:mm:ss" |
| 126 | 126 | * format or as TTL value when the cache entry expires |
| 127 | 127 | * @param array $tags List of tag strings that should be assoicated to the |