[Form] FormBuilderInterface->getParent() doesn't take any arguments (anymore)
This commit is contained in:
parent
77839690d9
commit
1e83206e1d
@ -172,11 +172,7 @@ class FormFactory implements FormFactoryInterface
|
|||||||
|
|
||||||
array_unshift($types, $type);
|
array_unshift($types, $type);
|
||||||
|
|
||||||
// getParent() cannot see default options set by this type nor
|
$type = $type->getParent();
|
||||||
// default options set by parent types
|
|
||||||
// As a result, the options always have to be checked for
|
|
||||||
// existence with isset() before using them in this method.
|
|
||||||
$type = $type->getParent($options);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Top-down determination of the default options
|
// Top-down determination of the default options
|
||||||
|
Reference in New Issue
Block a user