From 6cd83fc96ac8f79107f911271c678285e876d85d Mon Sep 17 00:00:00 2001 From: Elizabeth Danzberger Date: Tue, 16 Jul 2024 12:06:05 -0400 Subject: 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(-) (limited to 'lib') diff --git a/lib/public/Files/Template/Field.php b/lib/public/Files/Template/Field.php index 628fef20a0a..c86a623f980 100644 --- a/lib/public/Files/Template/Field.php +++ b/lib/public/Files/Template/Field.php @@ -10,7 +10,7 @@ namespace OCP\Files\Template; use OCP\Files\Template\InvalidFieldTypeException; class Field implements \JsonSerializable { - private int $index; + private string $index; private string $content; private FieldType $type; private ?int $id; -- cgit v1.2.3