|
@@ -212,7 +212,7 @@ discard block |
|
|
block discarded – undo |
|
212
|
212
|
* NOTICE php will encode modified(or named keys) array into object format in json format request |
|
213
|
213
|
* so the fields array must a sequence(list) type of array. |
|
214
|
214
|
* |
|
215
|
|
- * @param array $fields Fields to be returned |
|
|
215
|
+ * @param string[] $fields Fields to be returned |
|
216
|
216
|
* |
|
217
|
217
|
* @see https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-body.html#request-body-search-stored-fields |
|
218
|
218
|
*/ |
|
@@ -349,7 +349,7 @@ discard block |
|
|
block discarded – undo |
|
349
|
349
|
/** |
|
350
|
350
|
* Sets the _source field to be returned with every hit. |
|
351
|
351
|
* |
|
352
|
|
- * @param array|bool $params Fields to be returned or false to disable source |
|
|
352
|
+ * @param boolean $params Fields to be returned or false to disable source |
|
353
|
353
|
* |
|
354
|
354
|
* @see https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-body.html#request-body-search-source-filtering |
|
355
|
355
|
*/ |
Please login to merge, or discard this patch.