[Form] Fixing wrong variable name

This commit is contained in:
Ryan Weaver 2011-04-23 20:08:24 -05:00
parent 66cc555bb1
commit 0681e443d5

View File

@ -99,7 +99,7 @@ abstract class AbstractExtension implements FormExtensionInterface
$guesser = $this->loadTypeGuesser();
if (!$guesser instanceof FormTypeGuesserInterface) {
throw new UnexpectedTypeException($type, 'Symfony\Component\Form\FormTypeGuesserInterface');
throw new UnexpectedTypeException($guesser, 'Symfony\Component\Form\FormTypeGuesserInterface');
}
$this->guesser = $guesser;