Added FormInterface to @return Form::getClickedButton docblock

This commit is contained in:
Bill Hance 2019-04-24 00:12:49 -07:00
parent d98f7833f7
commit b71d589071

View File

@ -89,7 +89,7 @@ class Form implements \IteratorAggregate, FormInterface
private $submitted = false; 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; private $clickedButton;
@ -749,7 +749,7 @@ class Form implements \IteratorAggregate, FormInterface
/** /**
* Returns the button that was used to submit the form. * Returns the button that was used to submit the form.
* *
* @return ClickableInterface|null * @return FormInterface|ClickableInterface|null
*/ */
public function getClickedButton() public function getClickedButton()
{ {