Skip to content

Commit e9ddab2

Browse files
committed
Fixes Pgsql\Result
Signed-off-by: Joey Smith <jsmith@webinertia.net>
1 parent c7c3d0a commit e9ddab2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Result.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class Result implements ResultInterface
2525

2626
protected mixed $generatedValue;
2727

28-
public function initialize(PgSqlResult $resource, string|int $generatedValue): void
28+
public function initialize(PgSqlResult $resource, string|int|null $generatedValue): void
2929
{
3030
$this->resource = $resource;
3131
$this->count = pg_num_rows($this->resource);

0 commit comments

Comments
 (0)