amphp/postgres

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

PNixx opened this issue · 1 comments

PNixx commented

After update libs to:

  • amphp/sql: v2.0.0-beta.6
  • amphp/sql-common: v2.0.0-beta.7

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

Fixed in v2.0.0-beta.5.