File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -3551,12 +3551,11 @@ class RedisArray {
35513551 /**
35523552 * Constructor
35533553 *
3554- * @param string $name Name of the redis array to create (required if using redis.ini to define array)
3555- * @param array $hosts Array of hosts to construct the array with
3556- * @param array $opts Array of options
3554+ * @param string|array $hosts Name of the redis array from redis.ini or array of hosts to construct the array with
3555+ * @param array $opts Array of options
35573556 * @link https://github.com/nicolasff/phpredis/blob/master/arrays.markdown
35583557 */
3559- function __construct ($ name = '' , array $ hosts = NULL , array $ opts = NULL ) {}
3558+ function __construct ($ hosts , array $ opts = NULL ) {}
35603559
35613560 /**
35623561 * @return array list of hosts for the selected array
You can’t perform that action at this time.
0 commit comments