From e9ddab28bf2400b868e227568539a6df1422c601 Mon Sep 17 00:00:00 2001 From: Joey Smith Date: Wed, 25 Feb 2026 20:55:30 -0600 Subject: [PATCH] Fixes Pgsql\Result Signed-off-by: Joey Smith --- src/Result.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Result.php b/src/Result.php index b84b3e6..fb18b10 100644 --- a/src/Result.php +++ b/src/Result.php @@ -25,7 +25,7 @@ class Result implements ResultInterface protected mixed $generatedValue; - public function initialize(PgSqlResult $resource, string|int $generatedValue): void + public function initialize(PgSqlResult $resource, string|int|null $generatedValue): void { $this->resource = $resource; $this->count = pg_num_rows($this->resource);