Skip to content

Commit

Permalink
Merge pull request #124 from conflictboy/redis-v6-auth-param
Browse files Browse the repository at this point in the history
change redis v6 auth data type param
  • Loading branch information
Spamercz authored Mar 9, 2023
2 parents a3427ca + 3c254c2 commit 587bb97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Kdyby/Redis/RedisClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -221,11 +221,11 @@ class RedisClient implements \ArrayAccess
* @param ?int $port
* @param int $database
* @param int $timeout
* @param string $auth
* @param string|array $auth
* @param bool $persistent
* @throws \Kdyby\Redis\Exception\MissingExtensionException
*/
public function __construct(string $host = '127.0.0.1', ?int $port = 6379, int $database = 0, int $timeout = 10, ?string $auth = NULL, bool $persistent = FALSE)
public function __construct(string $host = '127.0.0.1', ?int $port = 6379, int $database = 0, int $timeout = 10, $auth = NULL, bool $persistent = FALSE)
{
$this->host = $host;
$this->port = $port;
Expand Down

0 comments on commit 587bb97

Please sign in to comment.