Skip to content

Commit b71d589

Browse files
author
Bill Hance
committed
Added FormInterface to @return Form::getClickedButton docblock
1 parent d98f783 commit b71d589

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/Form/Form.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ class Form implements \IteratorAggregate, FormInterface
8989
private $submitted = false;
9090

9191
/**
92-
* @var ClickableInterface|null The button that was used to submit the form
92+
* @var FormInterface|ClickableInterface|null The button that was used to submit the form
9393
*/
9494
private $clickedButton;
9595

@@ -749,7 +749,7 @@ public function isValid()
749749
/**
750750
* Returns the button that was used to submit the form.
751751
*
752-
* @return ClickableInterface|null
752+
* @return FormInterface|ClickableInterface|null
753753
*/
754754
public function getClickedButton()
755755
{

0 commit comments

Comments
 (0)