Skip to content

Commit

Permalink
Fix di config
Browse files Browse the repository at this point in the history
  • Loading branch information
nikitospush committed Mar 4, 2020
1 parent a9d5470 commit cae906c
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,8 @@ class Configuration implements ConfigurationInterface
/**
* {@inheritdoc}
*/
public function getConfigTreeBuilder()
public function getConfigTreeBuilder(): TreeBuilder
{
$treeBuilder = new TreeBuilder();
$rootNode = $treeBuilder->root('sgk_barcode');

// Here you should define the parameters that are allowed to
// configure your bundle. See the documentation linked above for
// more information on that topic.

return $treeBuilder;
return new TreeBuilder('sgk_barcode');
}
}

0 comments on commit cae906c

Please sign in to comment.