1
0
mirror of https://github.com/danog/postgres.git synced 2025-01-05 20:48:17 +01:00
postgres/test/PqConnectTest.php
Aaron Piotrowski fac9041cac
Update and fix code styles
Changed to match code styles used in other Amp packages.
2017-06-20 22:59:42 -05:00

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);
}
}