File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 */
You can’t perform that action at this time.
0 commit comments