Skip to content

Commit 7548356

Browse files
committed
Merge pull request #514 from aferrandini/master
Configuration tree issue
2 parents 7acc975 + 7cd4cf4 commit 7548356

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

DependencyInjection/Configuration.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,13 @@ public function getConfigTreeBuilder()
4545
->useAttributeAsKey('name')
4646
->prototype('boolean')->end()
4747
->end()
48-
->scalarNode('param_fetcher_listener')->defaultFalse()->end()
49-
->scalarNode('cache_dir')->cannotBeEmpty()->defaultValue('%kernel.cache_dir%/fos_rest')
48+
->scalarNode('param_fetcher_listener')->defaultFalse()
5049
->validate()
5150
->ifNotInArray($this->forceOptionValues)
5251
->thenInvalid('The param_fetcher_listener option does not support %s. Please choose one of '.json_encode($this->forceOptionValues))
5352
->end()
5453
->end()
54+
->scalarNode('cache_dir')->cannotBeEmpty()->defaultValue('%kernel.cache_dir%/fos_rest')->end()
5555
->scalarNode('allowed_methods_listener')->defaultFalse()->end()
5656
->arrayNode('routing_loader')
5757
->addDefaultsIfNotSet()

0 commit comments

Comments
 (0)