Skip to content

Commit c2e602f

Browse files
committed
lint fixes
1 parent 85a51c4 commit c2e602f

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

src/Aggregation/Bucketing/DateHistogramAggregation.php

-2
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,4 @@ public function getArray(): array|\stdClass
111111

112112
return $out;
113113
}
114-
115-
116114
}

src/Search.php

+5-2
Original file line numberDiff line numberDiff line change
@@ -254,8 +254,11 @@ public function setEndpointParameters($endpointName, array $parameters): static
254254
* - must_not
255255
* - should.
256256
*/
257-
public function addPostFilter(BuilderInterface $filter, string $boolType = BoolQuery::MUST, mixed $key = null): static
258-
{
257+
public function addPostFilter(
258+
BuilderInterface $filter,
259+
string $boolType = BoolQuery::MUST,
260+
mixed $key = null
261+
): static {
259262
$this
260263
->getEndpoint(PostFilterEndpoint::NAME)
261264
->addToBool($filter, $boolType, $key);

tests/Unit/Aggregation/Bucketing/HistogramAggregationTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,4 +109,4 @@ public function testExtendedBoundsWithNullGetArray()
109109
$this->assertEquals(['min' => 0], $aggregation->getExtendedBounds());
110110
$this->assertEquals($expected, $result);
111111
}
112-
}
112+
}

0 commit comments

Comments
 (0)