@@ -39,7 +39,7 @@ |
||
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 | { |
@@ -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 |
@@ -154,7 +154,7 @@ |
||
154 | 154 | } |
155 | 155 | |
156 | 156 | /** |
157 | - * @param string|int $routing |
|
157 | + * @param string|boolean $routing |
|
158 | 158 | * |
159 | 159 | * @return $this |
160 | 160 | */ |