Skip to content

Commit

Permalink
[Form] FormBuilderInterface->getParent() doesn't take any arguments (…
Browse files Browse the repository at this point in the history
…anymore)
  • Loading branch information
Bart van den Burg committed Jun 12, 2012
1 parent af86168 commit 3b28713
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions FormFactory.php
Expand Up @@ -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
Expand Down

0 comments on commit 3b28713

Please sign in to comment.