Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
fre5h committed Feb 19, 2016
1 parent bf5befb commit 782aec3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -202,14 +202,14 @@ $builder->add('position', null, [

If for some reason you need to specify full config, it can look like this:

Symfony >= 3.0
###### Symfony >= 3.0
```php
$builder->add('position', '\Symfony\Component\Form\Extension\Core\Type\ChoiceType', [
'choices' => BasketballPositionType::getChoices()
]);
```

Symfony < 3.0:
###### Symfony < 3.0
```php
$builder->add('position', 'choice', [
'choices' => BasketballPositionType::getChoices()
Expand Down

0 comments on commit 782aec3

Please sign in to comment.