Completed
Push — master ( 9552d6...4b2b1b )
by Simonas
08:12
created
src/Aggregation/Bucketing/GeoDistanceAggregation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -133,7 +133,7 @@
 block discarded – undo
133 133
                 'from' => $from,
134 134
                 'to' => $to,
135 135
             ],
136
-            function ($v) {
136
+            function($v) {
137 137
                 return !is_null($v);
138 138
             }
139 139
         );
Please login to merge, or discard this patch.
src/Aggregation/Bucketing/AutoDateHistogramAggregation.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 
14 14
 use ONGR\ElasticsearchDSL\Aggregation\AbstractAggregation;
15 15
 use ONGR\ElasticsearchDSL\Aggregation\Type\BucketingTrait;
16
-use ONGR\ElasticsearchDSL\BuilderInterface;
17 16
 
18 17
 /**
19 18
  * Class representing AutoDateHistogramAggregation.
Please login to merge, or discard this patch.
src/Aggregation/Pipeline/BucketSortAggregation.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 
12 12
 namespace ONGR\ElasticsearchDSL\Aggregation\Pipeline;
13 13
 
14
-use ONGR\ElasticsearchDSL\BuilderInterface;
15 14
 use ONGR\ElasticsearchDSL\Sort\FieldSort;
16 15
 
17 16
 /**
Please login to merge, or discard this patch.
src/Aggregation/Bucketing/RangeAggregation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -133,7 +133,7 @@
 block discarded – undo
133 133
                 'from' => $from,
134 134
                 'to' => $to,
135 135
             ],
136
-            function ($v) {
136
+            function($v) {
137 137
                 return !is_null($v);
138 138
             }
139 139
         );
Please login to merge, or discard this patch.
src/Aggregation/Bucketing/DateRangeAggregation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
                 'to' => $to,
88 88
                 'key' => $key,
89 89
             ],
90
-            function ($v) {
90
+            function($v) {
91 91
                 return !is_null($v);
92 92
             }
93 93
         );
Please login to merge, or discard this patch.
src/Aggregation/Bucketing/CompositeAggregation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
     public function addSource(BuilderInterface $agg)
55 55
     {
56 56
         $this->sources[] = [
57
-            $agg->getName() => [ $agg->getType() => $agg->getArray() ]
57
+            $agg->getName() => [$agg->getType() => $agg->getArray()]
58 58
         ];
59 59
 
60 60
         return $this;
Please login to merge, or discard this patch.
src/Aggregation/Bucketing/Ipv4RangeAggregation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -133,7 +133,7 @@
 block discarded – undo
133 133
                 'from' => $from,
134 134
                 'to' => $to,
135 135
             ],
136
-            function ($v) {
136
+            function($v) {
137 137
                 return !is_null($v);
138 138
             }
139 139
         );
Please login to merge, or discard this patch.