We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4661b7b commit c8922eeCopy full SHA for c8922ee
src/Driver.php
@@ -16,7 +16,7 @@ public function connect(array $params): ConnectionInterface
16
{
17
if (!isset(self::$pool)) {
18
self::$pool = new ConnectionPool(
19
- fn(): Connection => $this->create($this->dsn($params)),
+ fn(): Connection => $this->createConnection($this->dsn($params)),
20
$params['poolSize'] ?? self::DEFAULT_POOL_SIZE,
21
);
22
}
@@ -29,7 +29,7 @@ public function connect(array $params): ConnectionInterface
29
/**
30
* @throws ConnectionException
31
*/
32
- public function create(string $dsn): Connection
+ public function createConnection(string $dsn): Connection
33
34
$pgsql = new PostgreSQL();
35
0 commit comments