aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorElizabeth Danzberger <lizzy7128@tutanota.de>2024-07-16 12:06:05 -0400
committerJulius Härtl <jus@bitgrid.net>2024-07-25 11:11:40 +0200
commit6cd83fc96ac8f79107f911271c678285e876d85d (patch)
tree164e811e1a5907ef765fba91422c0d42bc393692 /lib
parent912a938157c6f1b490e3a061332eeb9b57c72eea (diff)
downloadnextcloud-server-6cd83fc96ac8f79107f911271c678285e876d85d.tar.gz
nextcloud-server-6cd83fc96ac8f79107f911271c678285e876d85d.zip
fix: Make field index a string for better id/index support
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/public/Files/Template/Field.php2
1 files changed, 1 insertions, 1 deletions
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;