Skip to content

Commit

Permalink
Remove find() method
Browse files Browse the repository at this point in the history
  • Loading branch information
webeweb committed Sep 28, 2021
1 parent 0e06d2c commit 5883301
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,10 +147,9 @@ public function getConfigTreeBuilder() {
->end()
->end()
->end()
->arrayNode("locales")->addDefaultsIfNotSet()
->end();

$localesNode = $rootNode->find("locales");
$localesNode = $rootNode->children()->arrayNode("locales")->addDefaultsIfNotSet();
$this->addBootstrapDatepickerLocales($localesNode, $plugins);
$this->addBootstrapMarkdownLocales($localesNode, $plugins);
$this->addBootstrapSelectLocales($localesNode, $plugins);
Expand Down

0 comments on commit 5883301

Please sign in to comment.