File tree 1 file changed +3
-4
lines changed 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -3551,12 +3551,11 @@ class RedisArray {
3551
3551
/**
3552
3552
* Constructor
3553
3553
*
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
3557
3556
* @link https://github.com/nicolasff/phpredis/blob/master/arrays.markdown
3558
3557
*/
3559
- function __construct ($ name = '' , array $ hosts = NULL , array $ opts = NULL ) {}
3558
+ function __construct ($ hosts , array $ opts = NULL ) {}
3560
3559
3561
3560
/**
3562
3561
* @return array list of hosts for the selected array
You can’t perform that action at this time.
0 commit comments