Skip to content

Commit 427fe6d

Browse files
committed
trailing commas
1 parent 45d6c95 commit 427fe6d

35 files changed

+178
-108
lines changed

src/Aggregation/AggregationCollection.php

100644100755
Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
<?php declare(strict_types = 1);
1+
<?php
2+
3+
declare(strict_types = 1);
24

35
namespace Spameri\ElasticQuery\Aggregation;
46

@@ -18,8 +20,8 @@ class AggregationCollection implements LeafAggregationInterface
1820

1921

2022
public function __construct(
21-
\Spameri\ElasticQuery\Filter\FilterCollection|null $filter = NULL
22-
, \Spameri\ElasticQuery\Aggregation\LeafAggregationCollection ... $aggregations,
23+
\Spameri\ElasticQuery\Filter\FilterCollection|null $filter = NULL,
24+
\Spameri\ElasticQuery\Aggregation\LeafAggregationCollection ... $aggregations,
2325
)
2426
{
2527
if ( ! $filter) {

src/Aggregation/Avg.php

100644100755
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
<?php declare(strict_types = 1);
1+
<?php
2+
3+
declare(strict_types = 1);
24

35
namespace Spameri\ElasticQuery\Aggregation;
46

src/Aggregation/Filter.php

100644100755
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
<?php declare(strict_types = 1);
1+
<?php
2+
3+
declare(strict_types = 1);
24

35
namespace Spameri\ElasticQuery\Aggregation;
46

src/Aggregation/Histogram.php

100644100755
Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
<?php declare(strict_types = 1);
1+
<?php
2+
3+
declare(strict_types = 1);
24

35
namespace Spameri\ElasticQuery\Aggregation;
46

@@ -15,8 +17,8 @@ class Histogram implements LeafAggregationInterface
1517

1618

1719
public function __construct(
18-
string $field
19-
, int $interval,
20+
string $field,
21+
int $interval,
2022
)
2123
{
2224
$this->field = $field;

src/Aggregation/LeafAggregationCollection.php

100644100755
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
<?php declare(strict_types = 1);
1+
<?php
2+
3+
declare(strict_types = 1);
24

35
namespace Spameri\ElasticQuery\Aggregation;
46

src/Aggregation/Range.php

100644100755
Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
<?php declare(strict_types = 1);
1+
<?php
2+
3+
declare(strict_types = 1);
24

35
namespace Spameri\ElasticQuery\Aggregation;
46

@@ -26,9 +28,9 @@ class Range implements LeafAggregationInterface
2628

2729

2830
public function __construct(
29-
string $field
30-
, bool $keyed = FALSE
31-
, \Spameri\ElasticQuery\Aggregation\RangeValueCollection $rangeValueCollection = NULL,
31+
string $field,
32+
bool $keyed = FALSE,
33+
\Spameri\ElasticQuery\Aggregation\RangeValueCollection $rangeValueCollection = NULL,
3234
)
3335
{
3436
$this->field = $field;

src/Aggregation/RangeValue.php

100644100755
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
<?php declare(strict_types = 1);
1+
<?php
2+
3+
declare(strict_types = 1);
24

35
namespace Spameri\ElasticQuery\Aggregation;
46

src/Document.php

100644100755
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
<?php declare(strict_types = 1);
1+
<?php
2+
3+
declare(strict_types = 1);
24

35
namespace Spameri\ElasticQuery;
46

src/ElasticQuery.php

100644100755
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
<?php declare(strict_types = 1);
1+
<?php
2+
3+
declare(strict_types = 1);
24

35
namespace Spameri\ElasticQuery;
46

src/FunctionScore.php

100644100755
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
<?php declare(strict_types = 1);
1+
<?php
2+
3+
declare(strict_types = 1);
24

35
namespace Spameri\ElasticQuery;
46

0 commit comments

Comments
 (0)