From 5c3d4c90724ed45df09c8665571a84eb44c9288c Mon Sep 17 00:00:00 2001 From: flashwave <me@flash.moe> Date: Sat, 5 Apr 2025 19:44:44 +0000 Subject: [PATCH] Fixed incompatibility not caught by PHPStan. --- VERSION | 2 +- src/Db/NullDb/NullDbStatement.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/VERSION b/VERSION index 4a14f61..8f84068 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.2504.31541 +0.2504.51944 diff --git a/src/Db/NullDb/NullDbStatement.php b/src/Db/NullDb/NullDbStatement.php index 415bc3c..484e84e 100644 --- a/src/Db/NullDb/NullDbStatement.php +++ b/src/Db/NullDb/NullDbStatement.php @@ -1,7 +1,7 @@ <?php // NullDbStatement.php // Created: 2021-05-02 -// Updated: 2025-01-18 +// Updated: 2025-04-05 namespace Index\Db\NullDb; @@ -11,7 +11,7 @@ use Index\Db\{DbType,DbResult,DbResultIterator,DbStatement}; * Represents a dummy database statement. */ class NullDbStatement implements DbStatement { - public private(set) int $parameterCount = 0; + public private(set) int $paramCount = 0; public function addParameter(int $ordinal, mixed $value, DbType $type = DbType::Auto): void {}