Completed
Pull Request — master (#1666)
by Ema
02:10
created
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.
lib/Elastica/Bulk/Action.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -154,7 +154,7 @@
 block discarded – undo
154 154
     }
155 155
 
156 156
     /**
157
-     * @param string|int $routing
157
+     * @param string|boolean $routing
158 158
      *
159 159
      * @return $this
160 160
      */
Please login to merge, or discard this patch.