CS rules · Spameri/ElasticQuery@f5127bf · GitHub
Skip to content

Commit f5127bf

Browse files
committed
CS rules
1 parent a0e98a2 commit f5127bf

127 files changed

Lines changed: 509 additions & 509 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/Aggregation/AggregationCollection.php

Lines changed: 4 additions & 4 deletions

src/Aggregation/Avg.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class Avg implements \Spameri\ElasticQuery\Aggregation\LeafAggregationInterface
1212

1313

1414
public function __construct(
15-
string $field
15+
string $field,
1616
)
1717
{
1818
$this->field = $field;

src/Aggregation/Histogram.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class Histogram implements LeafAggregationInterface
1616

1717
public function __construct(
1818
string $field
19-
, int $interval
19+
, int $interval,
2020
)
2121
{
2222
$this->field = $field;

src/Aggregation/LeafAggregationCollection.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ class LeafAggregationCollection implements LeafAggregationInterface, \IteratorAg
2424

2525
public function __construct(
2626
string $name
27-
, ?\Spameri\ElasticQuery\Filter\FilterCollection $filter
28-
, \Spameri\ElasticQuery\Aggregation\LeafAggregationInterface ... $aggregations
27+
, \Spameri\ElasticQuery\Filter\FilterCollection|null $filter
28+
, \Spameri\ElasticQuery\Aggregation\LeafAggregationInterface ... $aggregations,
2929
)
3030
{
3131
if ( ! $filter) {

src/Aggregation/Max.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class Max implements \Spameri\ElasticQuery\Aggregation\LeafAggregationInterface
99

1010

1111
public function __construct(
12-
string $field
12+
string $field,
1313
)
1414
{
1515
$this->field = $field;

src/Aggregation/Min.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class Min implements \Spameri\ElasticQuery\Aggregation\LeafAggregationInterface
99

1010

1111
public function __construct(
12-
string $field
12+
string $field,
1313
) {
1414
$this->field = $field;
1515
}

src/Aggregation/Nested.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class Nested implements \Spameri\ElasticQuery\Aggregation\LeafAggregationInterfa
99

1010

1111
public function __construct(
12-
string $path
12+
string $path,
1313
) {
1414
$this->path = $path;
1515
}

src/Aggregation/Range.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class Range implements LeafAggregationInterface
2828
public function __construct(
2929
string $field
3030
, bool $keyed = FALSE
31-
, \Spameri\ElasticQuery\Aggregation\RangeValueCollection $rangeValueCollection = NULL
31+
, \Spameri\ElasticQuery\Aggregation\RangeValueCollection $rangeValueCollection = NULL,
3232
)
3333
{
3434
$this->field = $field;

src/Aggregation/RangeValue.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public function __construct(
3131
$from,
3232
$to,
3333
bool $fromEqual = TRUE,
34-
bool $toEqual = TRUE
34+
bool $toEqual = TRUE,
3535
)
3636
{
3737
$this->key = $key;

src/Aggregation/RangeValueCollection.php

Lines changed: 2 additions & 2 deletions

0 commit comments

Comments
 (0)