From f33362bf0055b05567684450dbf54b26d8e3629d Mon Sep 17 00:00:00 2001 From: Elizabeth Danzberger Date: Tue, 16 Jul 2024 12:06:05 -0400 Subject: [PATCH] fix: Make field index a string for better id/index support Signed-off-by: Elizabeth Danzberger --- lib/public/Files/Template/Field.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/public/Files/Template/Field.php b/lib/public/Files/Template/Field.php index 628fef20a0ada..c86a623f980f1 100644 --- a/lib/public/Files/Template/Field.php +++ b/lib/public/Files/Template/Field.php @@ -10,7 +10,7 @@ use OCP\Files\Template\InvalidFieldTypeException; class Field implements \JsonSerializable { - private int $index; + private string $index; private string $content; private FieldType $type; private ?int $id;