Skip to content

Commit 194c03b

Browse files
committed
3879: CS fix
1 parent 8e28cb7 commit 194c03b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Api/Filter/ElasticSearch/DateRangeFilter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ private function getElasticSearchQueryRanges($property, $filter): array
9494
case DateLimit::between:
9595
$values = explode('..', $value);
9696

97-
if (count($values) !== 2) {
97+
if (2 !== count($values)) {
9898
throw new \InvalidArgumentException('Invalid date range');
9999
}
100100

0 commit comments

Comments
 (0)