You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Forms/Form.php
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -81,16 +81,16 @@ class Form extends Container implements Nette\Utils\IHtmlString
81
81
/** @internal protection token ID */
82
82
publicconstPROTECTOR_ID = '_token_';
83
83
84
-
/** @var callable[] function (Form $sender): void; Occurs when the form is submitted and successfully validated */
84
+
/** @var callable[]&((callable(Form, array): void)|(callable(Form, ArrayHash): void))[]; Occurs when the form is submitted and successfully validated */
85
85
public$onSuccess;
86
86
87
-
/** @var callable[] function (Form $sender): 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 */
88
88
public$onError;
89
89
90
-
/** @var callable[] function (Form $sender): void; Occurs when the form is submitted */
90
+
/** @var callable[]&(callable(Form): void)[]; Occurs when the form is submitted */
91
91
public$onSubmit;
92
92
93
-
/** @var callable[] function (Form $sender): void; Occurs before the form is rendered */
93
+
/** @var callable[]&(callable(Form): void)[]; Occurs before the form is rendered */
94
94
public$onRender;
95
95
96
96
/** @var Nette\Http\IRequest used only by standalone form */
0 commit comments