Skip to content
This repository was archived by the owner on Aug 13, 2023. It is now read-only.

Commit 730d87f

Browse files
committed
update raw
1 parent 58f43a4 commit 730d87f

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/QueryBuilder/AbstractAdapter.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,18 +126,19 @@ public function database()
126126
/**
127127
* @param string $username
128128
* @param string $password
129+
* @param array $options
129130
*
130131
* @return \PDO
131132
*/
132-
public function connection($username, $password)
133+
public function connection($username, $password, array $options)
133134
{
134135
if ($this->pdo)
135136
{
136137
throw new \BadFunctionCallException(__METHOD__);
137138
}
138139

139140
$class = $this->class;
140-
$this->pdo = new $class($this->dsn(), $username, $password);
141+
$this->pdo = new $class($this->dsn(), $username, $password, $options);
141142

142143
return $this->pdo;
143144
}

0 commit comments

Comments
 (0)