Completed
Pull Request — master (#1666)
by Ema
02:03
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/Document.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
      *
40 40
      * @param int|string   $id    OPTIONAL $id Id is create if empty
41 41
      * @param array|string $data  OPTIONAL Data array
42
-     * @param Index|string $index OPTIONAL Index name
42
+     * @param string $index OPTIONAL Index name
43 43
      */
44 44
     public function __construct($id = '', $data = [], $index = '')
45 45
     {
Please login to merge, or discard this patch.
lib/Elastica/Type/AbstractType.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,6 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.