Completed
Pull Request — master (#1679)
by Ema
01:48
created
lib/Elastica/Search.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -434,7 +434,7 @@  discard block
 block discarded – undo
434 434
     /**
435 435
      * Search in the set indices, types.
436 436
      *
437
-     * @param mixed     $query
437
+     * @param string     $query
438 438
      * @param int|array $options OPTIONAL Limit or associative array of options (option=>value)
439 439
      * @param string    $method  OPTIONAL Request method (use const's) (default = Request::POST)
440 440
      *
@@ -470,7 +470,7 @@  discard block
 block discarded – undo
470 470
     }
471 471
 
472 472
     /**
473
-     * @param mixed $query
473
+     * @param string $query
474 474
      * @param $fullResult (default = false) By default only the total hit count is returned. If set to true, the full ResultSet including aggregations is returned
475 475
      * @param string $method OPTIONAL Request method (use const's) (default = Request::POST)
476 476
      *
Please login to merge, or discard this patch.
lib/Elastica/Query.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -373,7 +373,7 @@
 block discarded – undo
373 373
     /**
374 374
      * Sets a post_filter to the current query.
375 375
      *
376
-     * @param array|AbstractQuery $filter
376
+     * @param AbstractQuery $filter
377 377
      *
378 378
      * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-body.html#request-body-search-post-filter
379 379
      */
Please login to merge, or discard this patch.
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -311,7 +311,6 @@
 block discarded – undo
311 311
      * Allows filtering of documents based on a minimum score.
312 312
      *
313 313
      * @param float $minScore Minimum score to filter documents by
314
-
315 314
      * @throws InvalidException
316 315
      *
317 316
      * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-body.html#request-body-search-min-score
Please login to merge, or discard this patch.