Skip to content

Commit f5f78e5

Browse files
author
lafricain79
committed
fix: add maxSubmissions and isMaxSubmissionsReached to FormsForm psalm type
1 parent eb57ca7 commit f5f78e5

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

lib/ResponseDefinitions.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@
110110
* state: int,
111111
* lockedBy: ?string,
112112
* lockedUntil: ?int,
113+
* maxSubmissions: ?int,
113114
* }
114115
*
115116
* @psalm-type FormsForm = array{
@@ -125,6 +126,7 @@
125126
* fileId: ?int,
126127
* filePath?: ?string,
127128
* isAnonymous: bool,
129+
* isMaxSubmissionsReached: bool,
128130
* lastUpdated: int,
129131
* submitMultiple: bool,
130132
* allowEditSubmissions: bool,
@@ -135,6 +137,7 @@
135137
* state: 0|1|2,
136138
* lockedBy: ?string,
137139
* lockedUntil: ?int,
140+
* maxSubmissions: ?int,
138141
* shares: list<FormsShare>,
139142
* submissionCount?: int,
140143
* submissionMessage: ?string,

0 commit comments

Comments
 (0)