diff --git a/src/DependencyInjection/Configuration.php b/src/DependencyInjection/Configuration.php index 10e1e23f3..c648579df 100644 --- a/src/DependencyInjection/Configuration.php +++ b/src/DependencyInjection/Configuration.php @@ -458,7 +458,7 @@ private function addClientsSection(ArrayNodeDefinition $rootNode) ->ifTrue(function ($v) { return !is_array($v); }) ->then(function ($v) { return array($v); }) ->end() - ->cannotBeEmpty() + ->requiresAtLeastOneElement() ->defaultValue([400, 403, 404]) ->prototype('scalar')->end() ->end()