@@ -248,7 +248,7 @@ |
||
248 | 248 | * |
249 | 249 | * @throws \Elastica\Exception\InvalidException If invalid transport type |
250 | 250 | * |
251 | - * @return TransportInterface |
|
251 | + * @return Request |
|
252 | 252 | */ |
253 | 253 | public function getTransportObject() |
254 | 254 | { |
@@ -384,7 +384,7 @@ discard block |
||
384 | 384 | /** |
385 | 385 | * @deprecated Use $client->getConnectionPool()->getConnections() |
386 | 386 | * |
387 | - * @return \Elastica\Connection[] |
|
387 | + * @return Connection\ConnectionInterface |
|
388 | 388 | */ |
389 | 389 | public function getConnections() |
390 | 390 | { |
@@ -421,8 +421,8 @@ discard block |
||
421 | 421 | * @link https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html |
422 | 422 | * |
423 | 423 | * @param array $ids Document ids |
424 | - * @param string|\Elastica\Index $index Index name |
|
425 | - * @param string|\Elastica\Type $type Type of documents |
|
424 | + * @param Index $index Index name |
|
425 | + * @param Type $type Type of documents |
|
426 | 426 | * @param string|bool $routing Optional routing key for all ids |
427 | 427 | * |
428 | 428 | * @throws \Elastica\Exception\InvalidException |
@@ -80,7 +80,7 @@ |
||
80 | 80 | } |
81 | 81 | |
82 | 82 | /** |
83 | - * @return ConnectionInterface[] |
|
83 | + * @return ConnectionInterface |
|
84 | 84 | */ |
85 | 85 | public function getConnections() |
86 | 86 | { |