@@ -198,7 +198,7 @@ discard block |
||
| 198 | 198 | * |
| 199 | 199 | * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html |
| 200 | 200 | * |
| 201 | - * @param array|Document[] $docs Array of Elastica\Document |
|
| 201 | + * @param Document[] $docs Array of Elastica\Document |
|
| 202 | 202 | * |
| 203 | 203 | * @throws InvalidException If docs is empty |
| 204 | 204 | */ |
@@ -315,7 +315,7 @@ discard block |
||
| 315 | 315 | /** |
| 316 | 316 | * Bulk deletes documents. |
| 317 | 317 | * |
| 318 | - * @param array|Document[] $docs |
|
| 318 | + * @param Document[] $docs |
|
| 319 | 319 | * |
| 320 | 320 | * @throws InvalidException |
| 321 | 321 | */ |
@@ -410,7 +410,7 @@ discard block |
||
| 410 | 410 | } |
| 411 | 411 | |
| 412 | 412 | /** |
| 413 | - * @param array|Connection[] $connections |
|
| 413 | + * @param Connection[] $connections |
|
| 414 | 414 | * |
| 415 | 415 | * @return $this |
| 416 | 416 | */ |
@@ -68,6 +68,9 @@ discard block |
||
| 68 | 68 | */ |
| 69 | 69 | private $builder; |
| 70 | 70 | |
| 71 | + /** |
|
| 72 | + * @param BuilderInterface $builder |
|
| 73 | + */ |
|
| 71 | 74 | public function __construct(Client $client, ?BuilderInterface $builder = null) |
| 72 | 75 | { |
| 73 | 76 | $this->_client = $client; |
@@ -99,7 +102,7 @@ discard block |
||
| 99 | 102 | /** |
| 100 | 103 | * Add array of indices at once. |
| 101 | 104 | * |
| 102 | - * @param Index[]|string[] $indices |
|
| 105 | + * @param Index[] $indices |
|
| 103 | 106 | */ |
| 104 | 107 | public function addIndices(array $indices = []): self |
| 105 | 108 | { |