@@ -72,7 +72,7 @@ |
||
| 72 | 72 | /** |
| 73 | 73 | * Delete index. |
| 74 | 74 | * |
| 75 | - * @param mixed $index |
|
| 75 | + * @param string $index |
|
| 76 | 76 | */ |
| 77 | 77 | protected function deleteIndex($index) |
| 78 | 78 | { |
@@ -18,7 +18,7 @@ |
||
| 18 | 18 | /** |
| 19 | 19 | * Put response. |
| 20 | 20 | * |
| 21 | - * @param array $response |
|
| 21 | + * @param callable $response |
|
| 22 | 22 | */ |
| 23 | 23 | public function response(array $response) |
| 24 | 24 | { |
@@ -4,9 +4,9 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Elasticsearch\Client; |
| 6 | 6 | use Elasticsearch\Common\Exceptions\Missing404Exception; |
| 7 | +use Isswp101\Persimmon\CollectionParser\ElasticsearchCollectionParser; |
|
| 7 | 8 | use Isswp101\Persimmon\Collection\ElasticsearchCollection; |
| 8 | 9 | use Isswp101\Persimmon\Collection\IElasticsearchCollection; |
| 9 | -use Isswp101\Persimmon\CollectionParser\ElasticsearchCollectionParser; |
|
| 10 | 10 | use Isswp101\Persimmon\Constants\Constants; |
| 11 | 11 | use Isswp101\Persimmon\Contracts\Storable; |
| 12 | 12 | use Isswp101\Persimmon\Exceptions\ClassTypeErrorException; |