Skip to content

Commit 211faef

Browse files
wutsch0isfedorov
authored andcommitted
Fix variable arguments on RedisCluster::rawCommand()
1 parent d0b11ec commit 211faef

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

redis/RedisCluster.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3247,13 +3247,13 @@ public function command() {}
32473247
/**
32483248
* Send arbitrary things to the redis server at the specified node
32493249
*
3250-
* @param string|array $nodeParams key or [host,port]
3251-
* @param string $command Required command to send to the server.
3252-
* @param mixed $arguments Optional variable amount of arguments to send to the server.
3250+
* @param string|array $nodeParams key or [host,port]
3251+
* @param string $command Required command to send to the server.
3252+
* @param mixed ...$arguments Optional variable amount of arguments to send to the server.
32533253
*
32543254
* @return mixed
32553255
*/
3256-
public function rawCommand($nodeParams, $command, $arguments) {}
3256+
public function rawcommand($nodeParams, $command, ...$arguments) {}
32573257

32583258
/**
32593259
* @since redis >= 3.0

0 commit comments

Comments
 (0)