From 15f840335d7fba5d20586d43b4a824069f685006 Mon Sep 17 00:00:00 2001 From: Aaron Piotrowski Date: Mon, 30 Sep 2019 17:45:34 -0500 Subject: [PATCH] Update readme --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2369067..22565f7 100644 --- a/README.md +++ b/README.md @@ -35,6 +35,7 @@ More examples can be found in the [`examples`](examples) directory. ```php use Amp\Postgres; use Amp\Postgres\ConnectionConfig; +use Amp\Sql\Statement; Amp\Loop::run(function () { $config = ConnectionConfig::fromString("host=localhost user=postgres dbname=test"); @@ -42,7 +43,7 @@ Amp\Loop::run(function () { /** @var Postgres\Pool $pool */ $pool = Postgres\pool($config); - /** @var Postgres\Statement $statement */ + /** @var Statement $statement */ $statement = yield $pool->prepare("SELECT * FROM test WHERE id = :id"); /** @var Postgres\ResultSet $result */