Skip to content

Commit 233db7d

Browse files
algolia-botalcoholshortcuts
committed
fix(php): batchSize docblocks type (#5109) (generated) [skip ci]
Co-authored-by: Rob <[email protected]> Co-authored-by: Clément Vannicatte <[email protected]>
1 parent 69a5e66 commit 233db7d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

clients/algoliasearch-client-php/lib/Api/SearchClient.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3095,7 +3095,7 @@ public function replaceAllObjects($indexName, $objects, $batchSize = 1000, $scop
30953095
* @param string $indexName the `indexName` to replace `objects` in
30963096
* @param array $objects the array of `objects` to store in the given Algolia `indexName`
30973097
* @param bool $waitForTasks Whether or not we should wait until every `batch` tasks has been processed, this operation may slow the total execution time of this method but is more reliable
3098-
* @param array $batchSize The size of the chunk of `objects`. The number of `batch` calls will be equal to `length(objects) / batchSize`. Defaults to 1000.
3098+
* @param int $batchSize The size of the chunk of `objects`. The number of `batch` calls will be equal to `length(objects) / batchSize`. Defaults to 1000.
30993099
* @param array $requestOptions Request options
31003100
*/
31013101
public function saveObjects($indexName, $objects, $waitForTasks = false, $batchSize = 1000, $requestOptions = [])
@@ -3112,7 +3112,7 @@ public function saveObjects($indexName, $objects, $waitForTasks = false, $batchS
31123112
* @param string $indexName the `indexName` to replace `objects` in
31133113
* @param array $objects the array of `objects` to store in the given Algolia `indexName`
31143114
* @param bool $waitForTasks Whether or not we should wait until every `batch` tasks has been processed, this operation may slow the total execution time of this method but is more reliable
3115-
* @param array $batchSize The size of the chunk of `objects`. The number of `push` calls will be equal to `length(objects) / batchSize`. Defaults to 1000.
3115+
* @param int $batchSize The size of the chunk of `objects`. The number of `push` calls will be equal to `length(objects) / batchSize`. Defaults to 1000.
31163116
* @param array $requestOptions Request options
31173117
*/
31183118
public function saveObjectsWithTransformation($indexName, $objects, $waitForTasks = false, $batchSize = 1000, $requestOptions = [])
@@ -3130,7 +3130,7 @@ public function saveObjectsWithTransformation($indexName, $objects, $waitForTask
31303130
* @param string $indexName the `indexName` to delete `objectIDs` from
31313131
* @param array $objectIDs the `objectIDs` to delete
31323132
* @param bool $waitForTasks Whether or not we should wait until every `batch` tasks has been processed, this operation may slow the total execution time of this method but is more reliable
3133-
* @param array $batchSize The size of the chunk of `objects`. The number of `batch` calls will be equal to `length(objects) / batchSize`. Defaults to 1000.
3133+
* @param int $batchSize The size of the chunk of `objects`. The number of `batch` calls will be equal to `length(objects) / batchSize`. Defaults to 1000.
31343134
* @param array $requestOptions Request options
31353135
*/
31363136
public function deleteObjects($indexName, $objectIDs, $waitForTasks = false, $batchSize = 1000, $requestOptions = [])
@@ -3151,7 +3151,7 @@ public function deleteObjects($indexName, $objectIDs, $waitForTasks = false, $ba
31513151
* @param array $objects the array of `objects` to store in the given Algolia `indexName`
31523152
* @param bool $createIfNotExists To be provided if non-existing objects are passed, otherwise, the call will fail..
31533153
* @param bool $waitForTasks Whether or not we should wait until every `batch` tasks has been processed, this operation may slow the total execution time of this method but is more reliable
3154-
* @param array $batchSize The size of the chunk of `objects`. The number of `batch` calls will be equal to `length(objects) / batchSize`. Defaults to 1000.
3154+
* @param int $batchSize The size of the chunk of `objects`. The number of `batch` calls will be equal to `length(objects) / batchSize`. Defaults to 1000.
31553155
* @param array $requestOptions Request options
31563156
*/
31573157
public function partialUpdateObjects($indexName, $objects, $createIfNotExists, $waitForTasks = false, $batchSize = 1000, $requestOptions = [])
@@ -3169,7 +3169,7 @@ public function partialUpdateObjects($indexName, $objects, $createIfNotExists, $
31693169
* @param array $objects the array of `objects` to store in the given Algolia `indexName`
31703170
* @param bool $createIfNotExists To be provided if non-existing objects are passed, otherwise, the call will fail..
31713171
* @param bool $waitForTasks Whether or not we should wait until every `batch` tasks has been processed, this operation may slow the total execution time of this method but is more reliable
3172-
* @param array $batchSize The size of the chunk of `objects`. The number of `push` calls will be equal to `length(objects) / batchSize`. Defaults to 1000.
3172+
* @param int $batchSize The size of the chunk of `objects`. The number of `push` calls will be equal to `length(objects) / batchSize`. Defaults to 1000.
31733173
* @param array $requestOptions Request options
31743174
*/
31753175
public function partialUpdateObjectsWithTransformation($indexName, $objects, $createIfNotExists, $waitForTasks = false, $batchSize = 1000, $requestOptions = [])
@@ -3188,7 +3188,7 @@ public function partialUpdateObjectsWithTransformation($indexName, $objects, $cr
31883188
* @param array $objects the array of `objects` to store in the given Algolia `indexName`
31893189
* @param array $action the `batch` `action` to perform on the given array of `objects`, defaults to `addObject`
31903190
* @param bool $waitForTasks whether or not we should wait until every `batch` tasks has been processed, this operation may slow the total execution time of this method but is more reliable
3191-
* @param array $batchSize The size of the chunk of `objects`. The number of `batch` calls will be equal to `length(objects) / batchSize`. Defaults to 1000.
3191+
* @param int $batchSize The size of the chunk of `objects`. The number of `batch` calls will be equal to `length(objects) / batchSize`. Defaults to 1000.
31923192
* @param array $requestOptions Request options
31933193
*/
31943194
public function chunkedBatch(

0 commit comments

Comments
 (0)