mirror of
https://github.com/danog/postgres.git
synced 2025-01-05 20:48:17 +01:00
fac9041cac
Changed to match code styles used in other Amp packages.
17 lines
368 B
PHP
17 lines
368 B
PHP
<?php
|
|
|
|
namespace Amp\Postgres\Test;
|
|
|
|
use Amp\CancellationToken;
|
|
use Amp\Postgres\PqConnection;
|
|
use Amp\Promise;
|
|
|
|
/**
|
|
* @requires extension pq
|
|
*/
|
|
class PqConnectTest extends AbstractConnectTest {
|
|
public function connect(string $connectionString, CancellationToken $token = null): Promise {
|
|
return PqConnection::connect($connectionString, $token);
|
|
}
|
|
}
|