Skip to content

Commit 69470d7

Browse files
committed
Fix the previous release.
1 parent b6e01cd commit 69470d7

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

CHANGELOG-3.1.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ https://github.com/FriendsOfSymfony/FOSElasticaBundle/commit/XXX where XXX is
99
the commit hash. To get the diff between two versions, go to
1010
https://github.com/FriendsOfSymfony/FOSElasticaBundle/compare/v3.0.4...v3.1.0
1111

12+
* 3.1.2 (2015-03-27)
13+
14+
* Fix the previous release
15+
1216
* 3.1.1 (2015-03-27)
1317

1418
* Fix PopulateCommand trying to set formats for ProgressBar in Symfony < 2.5

Provider/AbstractProvider.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,12 +104,11 @@ abstract protected function enableLogging($logger);
104104
*/
105105
protected function configureOptions()
106106
{
107-
$this->resolver->setAllowedTypes('batch_size', 'int');
108-
109107
$this->resolver->setDefaults(array(
110108
'batch_size' => 100,
111109
'skip_indexable_check' => false,
112110
));
111+
$this->resolver->setAllowedTypes('batch_size', 'int');
113112

114113
$this->resolver->setRequired(array(
115114
'indexName',

0 commit comments

Comments
 (0)