Skip to content

Commit

Permalink
fix: phpcs
Browse files Browse the repository at this point in the history
  • Loading branch information
coppee committed Oct 11, 2023
1 parent bf7748c commit ba26d2c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public function testFromArray(): void
$response = Response::fromArray($data);

$this->assertTrue($response->hasDocuments());
$this->assertEquals(2, iterator_count($response->getDocuments()));
$this->assertEquals(2, \iterator_count($response->getDocuments()));
$this->assertInstanceOf(Document::class, $response->getDocument(0));
$this->assertInstanceOf(Aggregation::class, $response->getAggregation('test_agg'));
$this->assertEquals('scroll123', $response->getScrollId());
Expand All @@ -60,7 +60,7 @@ public function testFromResultSet(): void
$response = Response::fromResultSet($resultSet);

$this->assertTrue($response->hasDocuments());
$this->assertEquals(1, iterator_count($response->getDocuments()));
$this->assertEquals(1, \iterator_count($response->getDocuments()));
$this->assertInstanceOf(Document::class, $response->getDocument(0));
$this->assertEquals(5, $response->getTotal());
}
Expand Down

0 comments on commit ba26d2c

Please sign in to comment.