Permalink
Browse files

[Form] FormBuilderInterface->getParent() doesn't take any arguments (…

…anymore)
  • Loading branch information...
1 parent af86168 commit 3b287135de5344605980b086bed476dbb7f6f4e2 Bart van den Burg committed Jun 12, 2012
Showing with 1 addition and 5 deletions.
  1. +1 −5 FormFactory.php
View
@@ -172,11 +172,7 @@ public function createNamedBuilder($name, $type, $data = null, array $options =
array_unshift($types, $type);
- // getParent() cannot see default options set by this type nor
- // 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);
+ $type = $type->getParent();
}
// Top-down determination of the default options

0 comments on commit 3b28713

Please sign in to comment.