From d162181bf33339006627e85727c1ae040517489d Mon Sep 17 00:00:00 2001 From: Simon Mundy <46739456+simon-mundy@users.noreply.github.com> Date: Mon, 12 Jan 2026 16:34:00 +1100 Subject: [PATCH] Update AbstractTableGateway.php Signed-off-by: Simon Mundy <46739456+simon-mundy@users.noreply.github.com> --- src/TableGateway/AbstractTableGateway.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/TableGateway/AbstractTableGateway.php b/src/TableGateway/AbstractTableGateway.php index 63bac1ec..c90dd69b 100644 --- a/src/TableGateway/AbstractTableGateway.php +++ b/src/TableGateway/AbstractTableGateway.php @@ -49,7 +49,7 @@ abstract class AbstractTableGateway implements TableGatewayInterface protected ?Sql $sql = null; - protected ?int $lastInsertValue = null; + protected string|int|false|null $lastInsertValue = null; public function isInitialized(): bool { @@ -400,7 +400,7 @@ protected function executeDelete(Delete $delete): int return $result->getAffectedRows(); } - public function getLastInsertValue(): int + public function getLastInsertValue(): string|int|false|null { return $this->lastInsertValue; }