Skip to content

Commit c7edbce

Browse files
committed
typos
1 parent 7bc0999 commit c7edbce

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/Forms/Container.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
*/
2525
class 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 */

src/Forms/Controls/SubmitButton.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@
2020
*/
2121
class 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 */

src/Forms/Form.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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 */

0 commit comments

Comments
 (0)