Fix the previous release.

This commit is contained in:
Tim Nagel 2015-03-27 12:01:39 +11:00
parent b6e01cd332
commit 69470d7e20
2 changed files with 5 additions and 2 deletions

View file

@ -9,6 +9,10 @@ https://github.com/FriendsOfSymfony/FOSElasticaBundle/commit/XXX where XXX is
the commit hash. To get the diff between two versions, go to
https://github.com/FriendsOfSymfony/FOSElasticaBundle/compare/v3.0.4...v3.1.0
* 3.1.2 (2015-03-27)
* Fix the previous release
* 3.1.1 (2015-03-27)
* Fix PopulateCommand trying to set formats for ProgressBar in Symfony < 2.5

View file

@ -104,12 +104,11 @@ abstract class AbstractProvider implements ProviderInterface
*/
protected function configureOptions()
{
$this->resolver->setAllowedTypes('batch_size', 'int');
$this->resolver->setDefaults(array(
'batch_size' => 100,
'skip_indexable_check' => false,
));
$this->resolver->setAllowedTypes('batch_size', 'int');
$this->resolver->setRequired(array(
'indexName',