Skip to content

Commit e933a49

Browse files
committed
Use deprecated optionsResolver interface
1 parent 69470d7 commit e933a49

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Provider/AbstractProvider.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,9 @@ protected function configureOptions()
108108
'batch_size' => 100,
109109
'skip_indexable_check' => false,
110110
));
111-
$this->resolver->setAllowedTypes('batch_size', 'int');
111+
$this->resolver->setAllowedTypes(array(
112+
'batch_size' => 'int'
113+
));
112114

113115
$this->resolver->setRequired(array(
114116
'indexName',

0 commit comments

Comments
 (0)