[Form] Fixing wrong variable name
This commit is contained in:
parent
66cc555bb1
commit
0681e443d5
@ -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;
|
||||
|
Reference in New Issue
Block a user