Open lifinsky opened 4 years ago
PHPRedis 3.5 support auth as array ['username', 'password'] or ['user' => 'username', 'pass' => 'password'].
Because password property in RedisDb has type string, I added support for new option for Redis db connection option - "auth".
For example:
'redis-master' => [ 'class' => RedisDb::class, ... 'option' => ['auth' => ['user' => 'username', 'pass' => 'password']], ]
Swoole 4.5.8 change signature of Response::cookie() method: add priority argument
您好 你这个和组件库冲突了 请重新提PR
PHPRedis 3.5 support auth as array ['username', 'password'] or ['user' => 'username', 'pass' => 'password'].
Because password property in RedisDb has type string, I added support for new option for Redis db connection option - "auth".
For example:
'redis-master' => [ 'class' => RedisDb::class, ... 'option' => ['auth' => ['user' => 'username', 'pass' => 'password']], ]
Swoole 4.5.8 change signature of Response::cookie() method: add priority argument