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