diff --git a/tests/CommandTest.php b/tests/CommandTest.php index 32486c27..2fbc8944 100644 --- a/tests/CommandTest.php +++ b/tests/CommandTest.php @@ -466,7 +466,7 @@ public function testUpdate( array|string $conditions, array $params, array $expectedValues, - int $expectedCount, + int $expectedCount = null, ): void { parent::testUpdate($table, $columns, $conditions, $params, $expectedValues, $expectedCount); } diff --git a/tests/QueryBuilderTest.php b/tests/QueryBuilderTest.php index a14c9116..f50e2e45 100644 --- a/tests/QueryBuilderTest.php +++ b/tests/QueryBuilderTest.php @@ -705,7 +705,7 @@ public function testUpdate( array|string $condition, array $params, string $expectedSql, - array $expectedParams, + array $expectedParams = null, ): void { parent::testUpdate($table, $columns, $condition, $params, $expectedSql, $expectedParams); }