diff --git a/phpstan-baseline.php b/phpstan-baseline.php index c49b156548eb..a5ad5aa95b7d 100644 --- a/phpstan-baseline.php +++ b/phpstan-baseline.php @@ -2677,12 +2677,6 @@ 'count' => 1, 'path' => __DIR__ . '/system/Database/Forge.php', ]; -$ignoreErrors[] = [ - // identifier: missingType.iterableValue - 'message' => '#^Method CodeIgniter\\\\Database\\\\Forge\\:\\:dropColumn\\(\\) has parameter \\$columnNames with no value type specified in iterable type array\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/system/Database/Forge.php', -]; $ignoreErrors[] = [ // identifier: missingType.iterableValue 'message' => '#^Method CodeIgniter\\\\Database\\\\Forge\\:\\:modifyColumn\\(\\) has parameter \\$fields with no value type specified in iterable type array\\.$#', diff --git a/system/Database/Forge.php b/system/Database/Forge.php index 595cd6156b5f..b7f6743634f8 100644 --- a/system/Database/Forge.php +++ b/system/Database/Forge.php @@ -778,7 +778,7 @@ public function addColumn(string $table, $fields): bool } /** - * @param array|string $columnNames column names to DROP + * @param list|string $columnNames column names to DROP * * @return bool * diff --git a/system/Database/SQLite3/Forge.php b/system/Database/SQLite3/Forge.php index 1abb32be0dda..c63aa6c40f52 100644 --- a/system/Database/SQLite3/Forge.php +++ b/system/Database/SQLite3/Forge.php @@ -154,7 +154,7 @@ protected function _alterTable(string $alterType, string $table, $processedField } /** - * @param array|string $columnNames column names to DROP + * @param list|string $columnNames column names to DROP * * @return bool * diff --git a/writable/test_com.sitedb.web b/writable/test_com.sitedb.web new file mode 100644 index 000000000000..e69de29bb2d1