[Form] Fixed exception message in ObjectChoiceList

This commit is contained in:
Bernhard Schussek 2012-07-26 08:30:26 +02:00
parent b122b37be7
commit ef747ff767
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ class ObjectChoiceList extends ChoiceList
foreach ($choices as $i => $choice) {
if (is_array($choice)) {
throw new \InvalidArgumentException('You should pass a plain object array (without groups, $code, $previous) when using the "groupPath" option.');
throw new \InvalidArgumentException('You should pass a plain object array (without groups) when using the "groupPath" option.');
}
try {