@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | /** |
| 74 | 74 | * Obtain multiple cache items by their unique keys |
| 75 | 75 | * |
| 76 | - * @param array|Traversable $keys A list of keys that can obtained in a single operation. |
|
| 76 | + * @param string[] $keys A list of keys that can obtained in a single operation. |
|
| 77 | 77 | * |
| 78 | 78 | * @return array An array of key => value pairs. Cache keys that do not exist or are stale will have a value of null. |
| 79 | 79 | */ |
@@ -97,7 +97,7 @@ discard block |
||
| 97 | 97 | /** |
| 98 | 98 | * Delete multiple cache items in a single operation |
| 99 | 99 | * |
| 100 | - * @param array|Traversable $keys The array of string-based keys to be deleted |
|
| 100 | + * @param string[] $keys The array of string-based keys to be deleted |
|
| 101 | 101 | * |
| 102 | 102 | * @return bool True on success and false on failure |
| 103 | 103 | */ |
@@ -111,7 +111,7 @@ discard block |
||
| 111 | 111 | * @param string $key The cache item key |
| 112 | 112 | * @param integer $step The value to increment by, defaulting to 1 |
| 113 | 113 | * |
| 114 | - * @return int|bool The new value on success and false on failure |
|
| 114 | + * @return integer The new value on success and false on failure |
|
| 115 | 115 | */ |
| 116 | 116 | public function increment($key, $step = 1) |
| 117 | 117 | { |
@@ -123,7 +123,7 @@ discard block |
||
| 123 | 123 | * @param string $key The cache item key |
| 124 | 124 | * @param integer $step The value to decrement by, defaulting to 1 |
| 125 | 125 | * |
| 126 | - * @return int|bool The new value on success and false on failure |
|
| 126 | + * @return integer The new value on success and false on failure |
|
| 127 | 127 | */ |
| 128 | 128 | public function decrement($key, $step = 1) |
| 129 | 129 | { |