Skip to content

Commit ec9618a

Browse files
committed
feat(select): add select to ProfileFieldsType and options to ProfileFieldsDefinition psalm types
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
1 parent b6bdb36 commit ec9618a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lib/ResponseDefinitions.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
namespace OCA\ProfileFields;
1111

1212
/**
13-
* @psalm-type ProfileFieldsType = 'text'|'number'
13+
* @psalm-type ProfileFieldsType = 'text'|'number'|'select'
1414
* @psalm-type ProfileFieldsVisibility = 'private'|'users'|'public'
1515
* @psalm-type ProfileFieldsDefinitionInput = array{
1616
* field_key?: string,
@@ -34,6 +34,7 @@
3434
* initial_visibility: ProfileFieldsVisibility,
3535
* sort_order: int,
3636
* active: bool,
37+
* options: list<string>|null,
3738
* created_at: string,
3839
* updated_at: string,
3940
* }

0 commit comments

Comments
 (0)