@@ -61,7 +61,7 @@ |
||
61 | 61 | * node is running on |
62 | 62 | * Example 2: get('os', 'mem') returns an array with all mem infos |
63 | 63 | * |
64 | - * @return mixed Data array entry or null if not found |
|
64 | + * @return string Data array entry or null if not found |
|
65 | 65 | */ |
66 | 66 | public function get() |
67 | 67 | { |
@@ -43,7 +43,7 @@ |
||
43 | 43 | $signer = new SignatureV4('es', $region); |
44 | 44 | $credProvider = $this->getCredentialProvider(); |
45 | 45 | |
46 | - return Middleware::mapRequest(function (RequestInterface $req) use ( |
|
46 | + return Middleware::mapRequest(function(RequestInterface $req) use ( |
|
47 | 47 | $signer, |
48 | 48 | $credProvider |
49 | 49 | ) { |
@@ -12,7 +12,6 @@ |
||
12 | 12 | /** |
13 | 13 | * Set the type for this aggregation. |
14 | 14 | * |
15 | - * @param string $field the child type the buckets in the parent space should be mapped to |
|
16 | 15 | * |
17 | 16 | * @return $this |
18 | 17 | */ |
@@ -435,7 +435,7 @@ |
||
435 | 435 | /** |
436 | 436 | * Sets post_filter argument for the query. The filter is applied after the query has executed. |
437 | 437 | * |
438 | - * @param array|\Elastica\Query\AbstractQuery $filter |
|
438 | + * @param AbstractQuery $filter |
|
439 | 439 | * |
440 | 440 | * @return $this |
441 | 441 | * |
@@ -280,7 +280,7 @@ |
||
280 | 280 | * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-create-index.html |
281 | 281 | * |
282 | 282 | * @param array $args OPTIONAL Arguments to use |
283 | - * @param bool|array $options OPTIONAL |
|
283 | + * @param boolean $options OPTIONAL |
|
284 | 284 | * bool=> Deletes index first if already exists (default = false). |
285 | 285 | * array => Associative array of options (option=>value) |
286 | 286 | * |
@@ -15,10 +15,10 @@ discard block |
||
15 | 15 | * @see http://php.net/manual/en/function.json-decode.php |
16 | 16 | * @see http://php.net/manual/en/function.json-last-error.php |
17 | 17 | * |
18 | - * @param string $args,... JSON string to parse |
|
19 | 18 | * |
20 | 19 | * @throws JSONParseException |
21 | 20 | * |
21 | + * @param string $args |
|
22 | 22 | * @return array PHP array representation of JSON string |
23 | 23 | */ |
24 | 24 | public static function parse($args/* inherit from json_decode */) |
@@ -49,7 +49,6 @@ discard block |
||
49 | 49 | * @see http://php.net/manual/en/function.json-encode.php |
50 | 50 | * @see http://php.net/manual/en/function.json-last-error.php |
51 | 51 | * |
52 | - * @param mixed $args,... Target to stringify |
|
53 | 52 | * |
54 | 53 | * @throws JSONParseException |
55 | 54 | * |
@@ -6,7 +6,6 @@ |
||
6 | 6 | use Elastica\Bulk\Action\AbstractDocument as AbstractDocumentAction; |
7 | 7 | use Elastica\Bulk\Response as BulkResponse; |
8 | 8 | use Elastica\Bulk\ResponseSet; |
9 | -use Elastica\Exception\Bulk\ResponseException; |
|
10 | 9 | use Elastica\Exception\Bulk\ResponseException as BulkResponseException; |
11 | 10 | use Elastica\Exception\InvalidException; |
12 | 11 | use Elastica\Script\AbstractScript; |
@@ -17,7 +17,6 @@ |
||
17 | 17 | /** |
18 | 18 | * Set the child type for this aggregation. |
19 | 19 | * |
20 | - * @param string $field the child type that should be selected |
|
21 | 20 | * |
22 | 21 | * @return $this |
23 | 22 | */ |
@@ -10,7 +10,6 @@ |
||
10 | 10 | use Elastica\ResultSet; |
11 | 11 | use Elastica\Search; |
12 | 12 | use Elastica\SearchableInterface; |
13 | -use Elastica\Type; |
|
14 | 13 | use Elastica\Type as BaseType; |
15 | 14 | use Elastica\Util; |
16 | 15 |