amphp / postgres

Async Postgres client for PHP based on Amp.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

PNixx opened this issue · comments

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.