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;