Added FormInterface to @return Form::getClickedButton docblock
This commit is contained in:
parent
d98f7833f7
commit
b71d589071
@ -89,7 +89,7 @@ class Form implements \IteratorAggregate, FormInterface
|
||||
private $submitted = false;
|
||||
|
||||
/**
|
||||
* @var ClickableInterface|null The button that was used to submit the form
|
||||
* @var FormInterface|ClickableInterface|null The button that was used to submit the form
|
||||
*/
|
||||
private $clickedButton;
|
||||
|
||||
@ -749,7 +749,7 @@ class Form implements \IteratorAggregate, FormInterface
|
||||
/**
|
||||
* Returns the button that was used to submit the form.
|
||||
*
|
||||
* @return ClickableInterface|null
|
||||
* @return FormInterface|ClickableInterface|null
|
||||
*/
|
||||
public function getClickedButton()
|
||||
{
|
||||
|
Reference in New Issue
Block a user