@@ -13,6 +13,9 @@ |
||
| 13 | 13 | |
| 14 | 14 | private $scrollTTL = '1m'; |
| 15 | 15 | |
| 16 | + /** |
|
| 17 | + * @param \Prophecy\Prophecy\ObjectProphecy $client |
|
| 18 | + */ |
|
| 16 | 19 | public function __construct($client, array $query) |
| 17 | 20 | { |
| 18 | 21 | $this->client = $client; |
@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Port\Elasticsearch; |
| 4 | 4 | |
| 5 | -use Elasticsearch\Client; |
|
| 6 | 5 | use Port\Reader; |
| 7 | 6 | |
| 8 | 7 | class ScrollReader implements Reader |