8000 [Form] FormBuilderInterface->getParent() doesn't take any arguments (… · symfony/symfony@1e83206 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1e83206

Browse files
author
Bart van den Burg
committed
[Form] FormBuilderInterface->getParent() doesn't take any arguments (anymore)
1 parent 7783969 commit 1e83206

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/Symfony/Component/Form/FormFactory.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -172,11 +172,7 @@ public function createNamedBuilder($name, $type, $data = null, array $options =
172172

173173
array_unshift($types, $type);
174174

175-
// getParent() cannot see default options set by this type nor
176-
// default options set by parent types
177-
// As a result, the options always have to be checked for
178-
// existence with isset() before using them in this method.
179-
$type = $type->getParent($options);
175+
$type = $type->getParent();
180176
}
181177

182178
// Top-down determination of the default options

0 commit comments

Comments
 (0)
0