Jump to Symfony 3.1

This commit is contained in:
Jeremy Benoist
2016-06-01 21:27:35 +02:00
parent 891a026e31
commit 23634d5d84
53 changed files with 76 additions and 91 deletions

View File

@ -32,7 +32,6 @@ class ConfigType extends AbstractType
$builder
->add('theme', ChoiceType::class, [
'choices' => array_flip($this->themes),
'choices_as_values' => true,
'label' => 'config.form_settings.theme_label',
])
->add('items_per_page', null, [
@ -49,7 +48,6 @@ class ConfigType extends AbstractType
])
->add('language', ChoiceType::class, [
'choices' => array_flip($this->languages),
'choices_as_values' => true,
'label' => 'config.form_settings.language_label',
])
->add('save', SubmitType::class, [

View File

@ -113,7 +113,6 @@ class EntryFilterType extends AbstractType
])
->add('language', ChoiceFilterType::class, [
'choices' => array_flip($this->repository->findDistinctLanguageByUser($this->user->getId())),
'choices_as_values' => true,
'label' => 'entry.filters.language_label',
])
;