Skip to content

Commit

Permalink
Update for amphp/[email protected]
Browse files Browse the repository at this point in the history
  • Loading branch information
trowski committed Dec 17, 2023
1 parent ca59db5 commit af0f769
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"amphp/amp": "^3",
"amphp/pipeline": "^1",
"amphp/sql": "^2-beta.6",
"amphp/sql-common": "^2-beta.7"
"amphp/sql-common": "^2-beta.9"
},
"require-dev": {
"ext-pgsql": "*",
Expand Down
2 changes: 1 addition & 1 deletion src/Internal/PostgresPooledResult.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
*/
final class PostgresPooledResult extends PooledResult implements PostgresResult
{
protected function newInstanceFrom(Result $result, \Closure $release): self
protected static function newInstanceFrom(Result $result, \Closure $release): self
{
\assert($result instanceof PostgresResult);
return new self($result, $release);
Expand Down

0 comments on commit af0f769

Please sign in to comment.