diff --git a/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php b/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php index 92c84f0a5c..7ffdca13cf 100644 --- a/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php +++ b/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php @@ -155,7 +155,13 @@ class Configuration implements ConfigurationInterface ->scalarNode('type')->end() ->scalarNode('http_port')->defaultValue(80)->end() ->scalarNode('https_port')->defaultValue(443)->end() - ->scalarNode('strict_parameters')->defaultTrue()->end() + ->scalarNode('strict_parameters') + ->info( + 'set to false to disable exceptions when a route is '. + 'generated with invalid parameters (and return null instead)' + ) + ->defaultTrue() + ->end() ->end() ->end() ->end()