@@ -290,7 +290,7 @@ discard block |
||
| 290 | 290 | /** |
| 291 | 291 | * Increment the float value of a key by the given amount |
| 292 | 292 | * @param string $key |
| 293 | - * @param float $increment |
|
| 293 | + * @param integer $increment |
|
| 294 | 294 | * @return float |
| 295 | 295 | */ |
| 296 | 296 | public function incrbyfloat($key, $increment = 1) |
@@ -325,7 +325,7 @@ discard block |
||
| 325 | 325 | /** |
| 326 | 326 | * Decrement the float value of a key by the given amount |
| 327 | 327 | * @param string $key |
| 328 | - * @param float $decrement |
|
| 328 | + * @param integer $decrement |
|
| 329 | 329 | * @return float |
| 330 | 330 | */ |
| 331 | 331 | public function decrbyfloat($key, $decrement = 1) |
@@ -431,7 +431,7 @@ discard block |
||
| 431 | 431 | * Increment the float value of hash field by given amount |
| 432 | 432 | * @param string $key |
| 433 | 433 | * @param string $field |
| 434 | - * @param float $increment |
|
| 434 | + * @param integer $increment |
|
| 435 | 435 | * @return float |
| 436 | 436 | */ |
| 437 | 437 | public function hincrbyfloat($key, $field, $increment = 1) |
@@ -666,6 +666,9 @@ discard block |
||
| 666 | 666 | return array_combine($keys, $values); |
| 667 | 667 | } |
| 668 | 668 | |
| 669 | + /** |
|
| 670 | + * @param string $command |
|
| 671 | + */ |
|
| 669 | 672 | private function prepareArguments($command, ...$params) |
| 670 | 673 | { |
| 671 | 674 | if (!isset($params[0])) { |