Skip to content

Commit

Permalink
Merge pull request #1 from nibsirahsieu/fix_ips_config
Browse files Browse the repository at this point in the history
fixed bug Unrecognized option "0" under "artgris_maintenance.ips"
  • Loading branch information
artgris authored Jul 27, 2017
2 parents 3026ae5 + b48a1ac commit 48589f7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@ public function getConfigTreeBuilder()

$rootNode
->children()
->scalarNode("enable")->defaultValue(false)->end()
->arrayNode("ips")->end()
->scalarNode("enable")->defaultValue(false)->end()
->arrayNode("ips")
->prototype('scalar')->end()
->end()
->end();

return $treeBuilder;
Expand Down

0 comments on commit 48589f7

Please sign in to comment.