test: fix tests

This commit is contained in:
Khoubza Younes
2023-02-05 18:11:04 +01:00
parent 590d39b37f
commit 3d82aff3dc
+2 -2
View File
@@ -65,7 +65,7 @@ final class Filter
$this->applyOrdering();
$this->applyLimit();
return $this->envelopes;
return array_values($this->envelopes);
}
/**
@@ -134,7 +134,7 @@ final class Filter
*/
private function applyOrdering()
{
if (null === $this->orderings) {
if (array() === $this->orderings) {
return;
}