@@ -163,7 +163,7 @@ discard block |
||
| 163 | 163 | } |
| 164 | 164 | |
| 165 | 165 | /** |
| 166 | - * @param mixed $index |
|
| 166 | + * @param Insert|null $index |
|
| 167 | 167 | * @return Graph\IndexDB |
| 168 | 168 | */ |
| 169 | 169 | protected function force_graph_index_db($index) { |
@@ -178,8 +178,8 @@ discard block |
||
| 178 | 178 | } |
| 179 | 179 | |
| 180 | 180 | /** |
| 181 | - * @param mixed $index |
|
| 182 | - * @return IndexDB |
|
| 181 | + * @param Insert $index |
|
| 182 | + * @return DB\IndexDB |
|
| 183 | 183 | */ |
| 184 | 184 | protected function force_app_index_db($index) { |
| 185 | 185 | if ($index instanceof DB\IndexDB) { |
@@ -10,8 +10,6 @@ |
||
| 10 | 10 | |
| 11 | 11 | namespace Lechimp\Dicto\DB; |
| 12 | 12 | |
| 13 | -use Lechimp\Dicto\Report\ResultDB; |
|
| 14 | - |
|
| 15 | 13 | class IndexDBFactory { |
| 16 | 14 | /** |
| 17 | 15 | * Create a new database for index at path. |