Skip to content

Commit

Permalink
fix: Make field index a string for better id/index support
Browse files Browse the repository at this point in the history
Signed-off-by: Elizabeth Danzberger <[email protected]>
  • Loading branch information
elzody committed Jul 16, 2024
1 parent e40ed03 commit f33362b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/public/Files/Template/Field.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
use OCP\Files\Template\InvalidFieldTypeException;

class Field implements \JsonSerializable {

Check failure on line 12 in lib/public/Files/Template/Field.php

View workflow job for this annotation

GitHub Actions / static-code-analysis-ocp

InvalidDocblock

lib/public/Files/Template/Field.php:12:1: InvalidDocblock: PHPDoc is required for classes/interfaces in OCP. (see https://psalm.dev/008)
private int $index;
private string $index;
private string $content;
private FieldType $type;
private ?int $id;
Expand Down

0 comments on commit f33362b

Please sign in to comment.