Corrected configuration option

This commit is contained in:
Mikko Tarvainen 2011-10-17 16:46:47 +03:00
parent 00fb438e13
commit 0633cb6ed9

View File

@ -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()
;