1
0
mirror of https://github.com/danog/postgres.git synced 2024-12-03 09:57:48 +01:00
postgres/test/PgSqlConnectTest.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
380 B
PHP

<?php
namespace Amp\Postgres\Test;
use Amp\CancellationToken;
use Amp\Postgres\PgSqlConnection;
use Amp\Promise;
/**
* @requires extension pgsql
*/
class PgSqlConnectTest extends AbstractConnectTest {
public function connect(string $connectionString, CancellationToken $token = null): Promise {
return PgSqlConnection::connect($connectionString, $token);
}
}