Skip to content

Commit

Permalink
Update Form.php
Browse files Browse the repository at this point in the history
  • Loading branch information
adaamz authored Apr 4, 2019
1 parent d4eb4a4 commit 570811b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Forms/Form.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,16 +81,16 @@ class Form extends Container implements Nette\Utils\IHtmlString
/** @internal protection token ID */
public const PROTECTOR_ID = '_token_';

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

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

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

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

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

0 comments on commit 570811b

Please sign in to comment.