fix: Make field index a string for better id/index support

Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
This commit is contained in:
Elizabeth Danzberger 2024-07-16 12:06:05 -04:00 committed by Julius Härtl
parent 912a938157
commit 6cd83fc96a
No known key found for this signature in database
GPG key ID: 4C614C6ED2CDE6DF

View file

@ -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;