[Form] Removed undefined variables in exception constructor
This commit is contained in:
parent
5676a91b8d
commit
b9facfc5ae
@ -107,7 +107,7 @@ class ChoicesToBooleanArrayTransformer implements DataTransformerInterface
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (count($unknown) > 0) {
|
if (count($unknown) > 0) {
|
||||||
throw new TransformationFailedException('The choices "' . implode('", "', $unknown, $code, $previous) . '" where not found');
|
throw new TransformationFailedException('The choices "' . implode('", "', $unknown) . '" where not found');
|
||||||
}
|
}
|
||||||
|
|
||||||
return $result;
|
return $result;
|
||||||
|
Reference in New Issue
Block a user