amphp / postgres

Async Postgres client for PHP based on Amp.
MIT License
96 stars 20 forks source link

Amp\Postgres\PostgresConnection must be compatible with Amp\Sql\Common\ConnectionPool::pop(): Amp\Sql\Connection #62

Closed PNixx closed 11 months ago

PNixx commented 11 months ago

After update libs to:

I catch error:

PHP Fatal error:  Declaration of Amp\Postgres\PostgresConnectionPool::pop(): Amp\Postgres\PostgresConnection must be compatible with Amp\Sql\Common\ConnectionPool::pop(): Amp\Sql\Connection in vendor/amphp/postgres/src/PostgresConnectionPool.php on line 77
trowski commented 11 months ago

Fixed in v2.0.0-beta.5.