From 03e15da862222b892ddb1c6b2b77d1818b8c21ca Mon Sep 17 00:00:00 2001 From: rudy Date: Thu, 5 Jan 2023 13:22:18 +0100 Subject: [PATCH] maj: correction phpstan, optional param config must be behind --- src/SQLLogin/SQLLoginRequest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SQLLogin/SQLLoginRequest.php b/src/SQLLogin/SQLLoginRequest.php index d3246a3..90fbba3 100644 --- a/src/SQLLogin/SQLLoginRequest.php +++ b/src/SQLLogin/SQLLoginRequest.php @@ -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;