Skip to content

Commit

Permalink
Merge pull request #3 from jbouzekri/master
Browse files Browse the repository at this point in the history
Disable required on mappings configuration key
  • Loading branch information
damianociarla committed Aug 24, 2014
2 parents ee75f3c + 2613979 commit bbbe335
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,11 @@ public function getConfigTreeBuilder()
$rootNode
->children()
->arrayNode('mapping')
->isRequired()
->requiresAtLeastOneElement()
->useAttributeAsKey('name')
->prototype('array')
->children()
->scalarNode('entity')
->isRequired()
->end()
->arrayNode('map')
->useAttributeAsKey('name')
Expand All @@ -37,6 +36,7 @@ public function getConfigTreeBuilder()
->end()
->end()
->end()
->defaultValue(array())
->end()
->end();

Expand Down

0 comments on commit bbbe335

Please sign in to comment.