We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8510897 commit 1b900ebCopy full SHA for 1b900eb
1 file changed
DependencyInjection/Configuration.php
@@ -21,8 +21,12 @@ public function getConfigTreeBuilder()
21
$rootNode = $treeBuilder->root('vivait_string_generator');
22
$rootNode
23
->children()
24
- ->scalarNode('generator_class')->defaultValue('Vivait\StringGeneratorBundle\Generator\StringGenerator')->end()
25
- ;
+ ->scalarNode('generator_class')
+ ->cannotBeEmpty()
26
+ ->defaultValue('Vivait\StringGeneratorBundle\Generator\StringGenerator')
27
+ ->end()
28
29
+ ;
30
31
return $treeBuilder;
32
}
0 commit comments