maj: correction phpstan, optional param config must be behind
Some checks reported warnings
Cadoles/hydra-sql/pipeline/pr-develop This commit looks good
Cadoles/hydra-sql/pipeline/head This commit is unstable

This commit is contained in:
Rudy Masson 2023-01-05 13:22:18 +01:00
parent b8fb01da5c
commit 03e15da862

View File

@ -16,7 +16,7 @@ class SQLLoginRequest
protected string $user;
protected string $password;
public function __construct(array $config = [], string $dsn, string $user, string $password)
public function __construct(string $dsn, string $user, string $password, array $config = [])
{
$this->config = $config;
$this->dsn = $dsn;