maj: correction phpstan, optional param config must be behind
This commit is contained in:
parent
b8fb01da5c
commit
03e15da862
|
@ -16,7 +16,7 @@ class SQLLoginRequest
|
||||||
protected string $user;
|
protected string $user;
|
||||||
protected string $password;
|
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->config = $config;
|
||||||
$this->dsn = $dsn;
|
$this->dsn = $dsn;
|
||||||
|
|
Loading…
Reference in New Issue