Selaa lähdekoodia

disallow new handlers in subsequent configs

Johannes Schmitt 13 vuotta sitten
vanhempi
commit
4892217a45
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      DependencyInjection/Configuration.php

+ 1 - 0
DependencyInjection/Configuration.php

@@ -65,6 +65,7 @@ class Configuration implements ConfigurationInterface
         $handlerNode = $builder
         $handlerNode = $builder
             ->arrayNode('handlers')
             ->arrayNode('handlers')
                 ->addDefaultsIfNotSet()
                 ->addDefaultsIfNotSet()
+                ->disallowNewKeysInSubsequentConfigs()
                 ->children()
                 ->children()
         ;
         ;