Fixed incompatibility not caught by PHPStan.

This commit is contained in:
flash 2025-04-05 19:44:44 +00:00
parent c2bcb0611b
commit 5c3d4c9072
Signed by: flash
GPG key ID: 2C9C2C574D47FE3E
2 changed files with 3 additions and 3 deletions

View file

@ -1 +1 @@
0.2504.31541
0.2504.51944

View file

@ -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 {}