From 0633cb6ed9767868dc728c7d71a83b2f34061e64 Mon Sep 17 00:00:00 2001 From: Mikko Tarvainen Date: Mon, 17 Oct 2011 16:46:47 +0300 Subject: [PATCH] Corrected configuration option --- DependencyInjection/Factory/MogileFSAdapterFactory.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/DependencyInjection/Factory/MogileFSAdapterFactory.php b/DependencyInjection/Factory/MogileFSAdapterFactory.php index 1f82ff7..19b956b 100644 --- a/DependencyInjection/Factory/MogileFSAdapterFactory.php +++ b/DependencyInjection/Factory/MogileFSAdapterFactory.php @@ -43,7 +43,8 @@ class MogileFSAdapterFactory implements AdapterFactoryInterface ->children() ->scalarNode('domain')->isRequired()->cannotBeEmpty()->end() ->arrayNode('hosts') - ->prototype('scalar')->isRequired()->end() + ->requiresAtLeastOneElement() + ->prototype('scalar')->end() ->end() ->end() ;