@@ -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 | /** |
@@ -111,7 +111,7 @@ |
||
| 111 | 111 | } |
| 112 | 112 | |
| 113 | 113 | /** |
| 114 | - * @return array|\Elastica\Search[] |
|
| 114 | + * @return BaseSearch[] |
|
| 115 | 115 | */ |
| 116 | 116 | public function getSearches() |
| 117 | 117 | { |