@@ -285,7 +285,7 @@ |
||
| 285 | 285 | * |
| 286 | 286 | * @throws Exception\InvalidException If offset doesn't exist |
| 287 | 287 | * |
| 288 | - * @return Result|null |
|
| 288 | + * @return Result |
|
| 289 | 289 | */ |
| 290 | 290 | public function offsetGet($offset) |
| 291 | 291 | { |
@@ -5,7 +5,6 @@ |
||
| 5 | 5 | use Elastica\Index; |
| 6 | 6 | use Elastica\Query\MatchAll; |
| 7 | 7 | use Elastica\ScanAndScroll; |
| 8 | -use Elastica\Search; |
|
| 9 | 8 | use Elastica\Type; |
| 10 | 9 | |
| 11 | 10 | /** |
@@ -5,7 +5,6 @@ |
||
| 5 | 5 | use Elastica\Exception\ResponseException; |
| 6 | 6 | use Elastica\Index\Settings as IndexSettings; |
| 7 | 7 | use Elastica\Index\Stats as IndexStats; |
| 8 | -use Elastica\ResultSet\BuilderInterface; |
|
| 9 | 8 | |
| 10 | 9 | /** |
| 11 | 10 | * Elastica index object. |