Skip to content

Commit f8611eb

Browse files
committed
fix: Make field index a string for better id/index support
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
1 parent d2ed0ed commit f8611eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/public/Files/Template/Field.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
use OCP\Files\Template\InvalidFieldTypeException;
1111

1212
class Field implements \JsonSerializable {
13-
private int $index;
13+
private string $index;
1414
private string $content;
1515
private FieldType $type;
1616
private ?int $id;

0 commit comments

Comments
 (0)