@@ -35,10 +35,10 @@ |
||
| 35 | 35 | /** |
| 36 | 36 | * Creates a new document. |
| 37 | 37 | * |
| 38 | - * @param int|string $id OPTIONAL $id Id is create if empty |
|
| 38 | + * @param string $id OPTIONAL $id Id is create if empty |
|
| 39 | 39 | * @param array|string $data OPTIONAL Data array |
| 40 | - * @param Type|string $type OPTIONAL Type name |
|
| 41 | - * @param Index|string $index OPTIONAL Index name |
|
| 40 | + * @param string $type OPTIONAL Type name |
|
| 41 | + * @param Index $index OPTIONAL Index name |
|
| 42 | 42 | */ |
| 43 | 43 | public function __construct($id = '', $data = [], $type = '', $index = '') |
| 44 | 44 | { |
@@ -66,7 +66,7 @@ |
||
| 66 | 66 | * |
| 67 | 67 | * @param string $query |
| 68 | 68 | * |
| 69 | - * @return mixed |
|
| 69 | + * @return string |
|
| 70 | 70 | */ |
| 71 | 71 | public function sanityzeQueryStringBool($query) |
| 72 | 72 | { |
@@ -26,9 +26,8 @@ discard block |
||
| 26 | 26 | /** |
| 27 | 27 | * Set response object the transport returns |
| 28 | 28 | * |
| 29 | - * @param \Elastica\Response $response |
|
| 30 | 29 | * |
| 31 | - * @return $this |
|
| 30 | + * @return Response |
|
| 32 | 31 | */ |
| 33 | 32 | public function getResponse() |
| 34 | 33 | { |
@@ -40,7 +39,7 @@ discard block |
||
| 40 | 39 | * |
| 41 | 40 | * @param \Elastica\Response $response |
| 42 | 41 | * |
| 43 | - * @return $this |
|
| 42 | + * @return Response |
|
| 44 | 43 | */ |
| 45 | 44 | public function setResponse(Response $response) |
| 46 | 45 | { |