Skip to content

Commit

Permalink
change redis v6 auth data type param
Browse files Browse the repository at this point in the history
  • Loading branch information
conflictboy committed Jul 27, 2022
1 parent 4c38efa commit 3c254c2
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 3c254c2

Please sign in to comment.