merged branch bschussek/set-data-stofs (PR #7899)
This PR was merged into the master branch.
Discussion
----------
[Form] Fixed stofs from #7878
| Q | A
| ------------- | ---
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | -
| License | MIT
| Doc PR | -
Commits
-------
1939dfc
[Form] Fixed stofs from #7878
This commit is contained in:
commit
4902626511
@ -350,7 +350,7 @@ class Button implements \IteratorAggregate, FormInterface
|
||||
*/
|
||||
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.
|
||||
*
|
||||
* @return null Always returns null.
|
||||
* @return Boolean Always returns false.
|
||||
*/
|
||||
public function getAutoInitialize()
|
||||
{
|
||||
return null;
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Unsupported method.
|
||||
*
|
||||
* @return null Always returns null.
|
||||
* @return Boolean Always returns false.
|
||||
*/
|
||||
public function getInheritData()
|
||||
{
|
||||
return null;
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user