[Form] Fixed typos

This commit is contained in:
Bernhard Schussek 2012-04-05 16:12:22 +02:00
parent cb87ccb284
commit 5adec19f56
2 changed files with 2 additions and 2 deletions

View File

@ -329,7 +329,7 @@
```
public function getDefaultOptions()
{
$return array(
return array(
'empty_data' => function (Options $options, $previousValue) {
return $options['multiple'] ? array() : $previousValue;
}

View File

@ -43,7 +43,7 @@ class ModelType extends AbstractType
);
};
$defaultOptions = array(
return array(
'template' => 'choice',
'multiple' => false,
'expanded' => false,