Skip to content

Commit 570811b

Browse files
authored
Update Form.php
1 parent d4eb4a4 commit 570811b

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/Forms/Form.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,16 +81,16 @@ class Form extends Container implements Nette\Utils\IHtmlString
8181
/** @internal protection token ID */
8282
public const PROTECTOR_ID = '_token_';
8383

84-
/** @var (callable(Form, array|ArrayHash): void)[]; Occurs when the form is submitted and successfully validated */
84+
/** @var callable[]&(callable(Form, array|ArrayHash): void)[]; Occurs when the form is submitted and successfully validated */
8585
public $onSuccess;
8686

87-
/** @var (callable(Form): void)[]; Occurs when the form is submitted and is not valid */
87+
/** @var callable[]&(callable(Form): void)[]; Occurs when the form is submitted and is not valid */
8888
public $onError;
8989

90-
/** @var (callable(Form): void)[]; Occurs when the form is submitted */
90+
/** @var callable[]&(callable(Form): void)[]; Occurs when the form is submitted */
9191
public $onSubmit;
9292

93-
/** @var (callable(Form): void)[]; Occurs before the form is rendered */
93+
/** @var callable[]&(callable(Form): void)[]; Occurs before the form is rendered */
9494
public $onRender;
9595

9696
/** @var Nette\Http\IRequest used only by standalone form */

0 commit comments

Comments
 (0)