[Form] Fixed typos
This commit is contained in:
parent
cb87ccb284
commit
5adec19f56
|
@ -329,7 +329,7 @@
|
|||
```
|
||||
public function getDefaultOptions()
|
||||
{
|
||||
$return array(
|
||||
return array(
|
||||
'empty_data' => function (Options $options, $previousValue) {
|
||||
return $options['multiple'] ? array() : $previousValue;
|
||||
}
|
||||
|
|
|
@ -43,7 +43,7 @@ class ModelType extends AbstractType
|
|||
);
|
||||
};
|
||||
|
||||
$defaultOptions = array(
|
||||
return array(
|
||||
'template' => 'choice',
|
||||
'multiple' => false,
|
||||
'expanded' => false,
|
||||
|
|
Reference in New Issue