Rapsys Git
/
userbundle
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efa6c60
)
Update to new symfony 4.x style
author
Raphaël Gertz
<git@rapsys.eu>
Mon, 28 Oct 2019 20:06:16 +0000
(21:06 +0100)
committer
Raphaël Gertz
<git@rapsys.eu>
Mon, 28 Oct 2019 20:06:16 +0000
(21:06 +0100)
DependencyInjection/Configuration.php
patch
|
blob
|
history
diff --git
a/DependencyInjection/Configuration.php
b/DependencyInjection/Configuration.php
index 14066d194b5564470e7b85a14e91103d2adf07b6..5ef87180a7fa221d328675c2116c91582f1da3b6 100644
(file)
--- a/
DependencyInjection/Configuration.php
+++ b/
DependencyInjection/Configuration.php
@@
-16,7
+16,7
@@
class Configuration implements ConfigurationInterface {
*/
public function getConfigTreeBuilder() {
//Set tree builder
- $treeBuilder = new TreeBuilder();
+ $treeBuilder = new TreeBuilder(
'parameters'
);
//The bundle default values
$defaults = [
@@
-83,7
+83,7
@@
class Configuration implements ConfigurationInterface {
//Here we define the parameters that are allowed to configure the bundle.
$treeBuilder
//Parameters
- ->
root('parameters'
)
+ ->
getRootNode(
)
->addDefaultsIfNotSet()
->children()
->arrayNode('rapsys_user')