[Form] Fixed stofs from #7878
This commit is contained in:
parent
36a8194c95
commit
1939dfc5fc
@ -350,7 +350,7 @@ class Button implements \IteratorAggregate, FormInterface
|
|||||||
*/
|
*/
|
||||||
public function initialize()
|
public function initialize()
|
||||||
{
|
{
|
||||||
throw new BadMethodCallException('Buttons cannot be initialized. Call initialized() on the root form instead.');
|
throw new BadMethodCallException('Buttons cannot be initialized. Call initialize() on the root form instead.');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -790,21 +790,21 @@ class ButtonBuilder implements \IteratorAggregate, FormBuilderInterface
|
|||||||
/**
|
/**
|
||||||
* Unsupported method.
|
* Unsupported method.
|
||||||
*
|
*
|
||||||
* @return null Always returns null.
|
* @return Boolean Always returns false.
|
||||||
*/
|
*/
|
||||||
public function getAutoInitialize()
|
public function getAutoInitialize()
|
||||||
{
|
{
|
||||||
return null;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Unsupported method.
|
* Unsupported method.
|
||||||
*
|
*
|
||||||
* @return null Always returns null.
|
* @return Boolean Always returns false.
|
||||||
*/
|
*/
|
||||||
public function getInheritData()
|
public function getInheritData()
|
||||||
{
|
{
|
||||||
return null;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user