File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 2424 */
2525class Container extends Nette \ComponentModel \Container implements \ArrayAccess
2626{
27- /** @var array of function(Container $sender); Occurs when the form is validated */
27+ /** @var callable[] function(Container $sender); Occurs when the form is validated */
2828 public $ onValidate ;
2929
3030 /** @var ControlGroup */
Original file line number Diff line number Diff line change 2020 */
2121class SubmitButton extends Button implements Nette \Forms \ISubmitterControl
2222{
23- /** @var array of function(SubmitButton $sender); Occurs when the button is clicked and form is successfully validated */
23+ /** @var callable[] function(SubmitButton $sender); Occurs when the button is clicked and form is successfully validated */
2424 public $ onClick ;
2525
26- /** @var array of function(SubmitButton $sender); Occurs when the button is clicked and form is not validated */
26+ /** @var callable[] function(SubmitButton $sender); Occurs when the button is clicked and form is not validated */
2727 public $ onInvalidClick ;
2828
2929 /** @var array */
Original file line number Diff line number Diff line change @@ -83,13 +83,13 @@ class Form extends Container implements Nette\Utils\IHtmlString
8383 /** @internal protection token ID */
8484 const PROTECTOR_ID = '_token_ ' ;
8585
86- /** @var array of function(Form $sender); Occurs when the form is submitted and successfully validated */
86+ /** @var callable[] function(Form $sender); Occurs when the form is submitted and successfully validated */
8787 public $ onSuccess ;
8888
89- /** @var array of function(Form $sender); Occurs when the form is submitted and is not valid */
89+ /** @var callable[] function(Form $sender); Occurs when the form is submitted and is not valid */
9090 public $ onError ;
9191
92- /** @var array of function(Form $sender); Occurs when the form is submitted */
92+ /** @var callable[] function(Form $sender); Occurs when the form is submitted */
9393 public $ onSubmit ;
9494
9595 /** @var mixed or NULL meaning: not detected yet */
You can’t perform that action at this time.
0 commit comments