@@ -128,7 +128,7 @@ public function isValid(): bool
128128
129129 /**
130130 * Performs the server side validation.
131- * @param IControl[]
131+ * @param IControl[] $controls
132132 */
133133 public function validate (array $ controls = null ): void
134134 {
@@ -224,7 +224,7 @@ public function getForm(bool $throw = true): ?Form
224224
225225 /**
226226 * Adds single-line text input control to the form.
227- * @param string|object $label
227+ * @param string|object $label
228228 */
229229 public function addText (string $ name , $ label = null , int $ cols = null , int $ maxLength = null ): Controls \TextInput
230230 {
@@ -235,7 +235,7 @@ public function addText(string $name, $label = null, int $cols = null, int $maxL
235235
236236 /**
237237 * Adds single-line text input control used for sensitive input such as passwords.
238- * @param string|object $label
238+ * @param string|object $label
239239 */
240240 public function addPassword (string $ name , $ label = null , int $ cols = null , int $ maxLength = null ): Controls \TextInput
241241 {
@@ -247,7 +247,7 @@ public function addPassword(string $name, $label = null, int $cols = null, int $
247247
248248 /**
249249 * Adds multi-line text input control to the form.
250- * @param string|object $label
250+ * @param string|object $label
251251 */
252252 public function addTextArea (string $ name , $ label = null , int $ cols = null , int $ rows = null ): Controls \TextArea
253253 {
@@ -258,7 +258,7 @@ public function addTextArea(string $name, $label = null, int $cols = null, int $
258258
259259 /**
260260 * Adds input for email.
261- * @param string|object $label
261+ * @param string|object $label
262262 */
263263 public function addEmail (string $ name , $ label = null ): Controls \TextInput
264264 {
@@ -270,7 +270,7 @@ public function addEmail(string $name, $label = null): Controls\TextInput
270270
271271 /**
272272 * Adds input for integer.
273- * @param string|object $label
273+ * @param string|object $label
274274 */
275275 public function addInteger (string $ name , $ label = null ): Controls \TextInput
276276 {
@@ -283,7 +283,7 @@ public function addInteger(string $name, $label = null): Controls\TextInput
283283
284284 /**
285285 * Adds control that allows the user to upload files.
286- * @param string|object $label
286+ * @param string|object $label
287287 */
288288 public function addUpload (string $ name , $ label = null ): Controls \UploadControl
289289 {
@@ -297,7 +297,7 @@ public function addUpload(string $name, $label = null): Controls\UploadControl
297297
298298 /**
299299 * Adds control that allows the user to upload multiple files.
300- * @param string|object $label
300+ * @param string|object $label
301301 */
302302 public function addMultiUpload (string $ name , $ label = null ): Controls \UploadControl
303303 {
@@ -317,7 +317,7 @@ public function addHidden(string $name, string $default = null): Controls\Hidden
317317
318318 /**
319319 * Adds check box control to the form.
320- * @param string|object $caption
320+ * @param string|object $caption
321321 */
322322 public function addCheckbox (string $ name , $ caption = null ): Controls \Checkbox
323323 {
@@ -327,7 +327,7 @@ public function addCheckbox(string $name, $caption = null): Controls\Checkbox
327327
328328 /**
329329 * Adds set of radio button controls to the form.
330- * @param string|object $label
330+ * @param string|object $label
331331 */
332332 public function addRadioList (string $ name , $ label = null , array $ items = null ): Controls \RadioList
333333 {
@@ -337,7 +337,7 @@ public function addRadioList(string $name, $label = null, array $items = null):
337337
338338 /**
339339 * Adds set of checkbox controls to the form.
340- * @param string|object $label
340+ * @param string|object $label
341341 */
342342 public function addCheckboxList (string $ name , $ label = null , array $ items = null ): Controls \CheckboxList
343343 {
@@ -347,7 +347,7 @@ public function addCheckboxList(string $name, $label = null, array $items = null
347347
348348 /**
349349 * Adds select box control that allows single item selection.
350- * @param string|object $label
350+ * @param string|object $label
351351 */
352352 public function addSelect (string $ name , $ label = null , array $ items = null , int $ size = null ): Controls \SelectBox
353353 {
@@ -358,7 +358,7 @@ public function addSelect(string $name, $label = null, array $items = null, int
358358
359359 /**
360360 * Adds select box control that allows multiple item selection.
361- * @param string|object $label
361+ * @param string|object $label
362362 */
363363 public function addMultiSelect (string $ name , $ label = null , array $ items = null , int $ size = null ): Controls \MultiSelectBox
364364 {
@@ -369,7 +369,7 @@ public function addMultiSelect(string $name, $label = null, array $items = null,
369369
370370 /**
371371 * Adds button used to submit form.
372- * @param string|object $caption
372+ * @param string|object $caption
373373 */
374374 public function addSubmit (string $ name , $ caption = null ): Controls \SubmitButton
375375 {
@@ -379,7 +379,7 @@ public function addSubmit(string $name, $caption = null): Controls\SubmitButton
379379
380380 /**
381381 * Adds push buttons with no default behavior.
382- * @param string|object $caption
382+ * @param string|object $caption
383383 */
384384 public function addButton (string $ name , $ caption = null ): Controls \Button
385385 {
@@ -389,8 +389,8 @@ public function addButton(string $name, $caption = null): Controls\Button
389389
390390 /**
391391 * Adds graphical button used to submit form.
392- * @param string $src URI of the image
393- * @param string $alt alternate text for the image
392+ * @param string $src URI of the image
393+ * @param string $alt alternate text for the image
394394 */
395395 public function addImage (string $ name , string $ src = null , string $ alt = null ): Controls \ImageButton
396396 {
@@ -400,7 +400,7 @@ public function addImage(string $name, string $src = null, string $alt = null):
400400
401401 /**
402402 * Adds naming container to the form.
403- * @param string|int
403+ * @param string|int $name
404404 */
405405 public function addContainer ($ name ): self
406406 {
0 commit comments