8000 fix type assignement by rande · Pull Request #16615 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

fix type assignement #16615

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix rename resolve type function
  • Loading branch information
rande committed Nov 23, 2015
commit 6d22d5cd16feacd488994202549a932f81bab75f
4 changes: 2 additions & 2 deletions src/Symfony/Component/Form/FormRegistry.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public function getType($name)
}
}

$this->types[$name] = $this->resolveAndAddType($type);
$this->types[$name] = $this->resolveType($type);
}

return $this->types[$name];
Expand All @@ -102,7 +102,7 @@ public function getType($name)
*
* @return ResolvedFormTypeInterface The resolved type.
*/
private function resolveAndAddType(FormTypeInterface $type)
private function resolveType(FormTypeInterface $type)
{
$typeExtensions = array();
$parentType = $type->getParent();
Expand Down
0