From 8bc710c3c1b2439c96259cefba0d1686462bb8f7 Mon Sep 17 00:00:00 2001 From: Christian Hartmann Date: Wed, 12 Aug 2026 14:16:18 +0200 Subject: [PATCH] feat(schema): Update ITable.php to include `comment` In Forms with NC35 the Psalm actions fail because `comment` is missing in the docblock for `addColumn` and `modifyColumn`: https://github.com/nextcloud/forms/actions/runs/31592467991/job/94100460339?pr=3578 This adds the missing array key to the docblocks. Signed-off-by: Christian Hartmann Signed-off-by: Carl Schwan --- lib/public/DB/Schema/ITable.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/public/DB/Schema/ITable.php b/lib/public/DB/Schema/ITable.php index 35311b0269062..53389bba71fa3 100644 --- a/lib/public/DB/Schema/ITable.php +++ b/lib/public/DB/Schema/ITable.php @@ -133,6 +133,7 @@ public function renameIndex(string $oldName, ?string $newName = null): self; * precision?: int, * scale?: int, * type?: Types::*|ColumnType, + * comment?: string, * } $options * * @throws SchemaException @@ -152,6 +153,7 @@ public function addColumn(string $name, string|ColumnType $typeName, array $opti * precision?: int, * scale?: int, * type?: Types::*|ColumnType, + * comment?: string, * } $options * * @throws SchemaException