Completed
Pull Request — master (#312)
by
unknown
01:35
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/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/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.
src/Aggregation/Bucketing/CompositeAggregation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
         $array = is_array($array) ? array_merge($array, $agg->getParameters()) : $array;
59 59
 
60 60
         $this->sources[] = [
61
-            $agg->getName() => [ $agg->getType() => $array ]
61
+            $agg->getName() => [$agg->getType() => $array]
62 62
         ];
63 63
 
64 64
         return $this;
Please login to merge, or discard this patch.
src/Query/Compound/BoolQuery.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
         foreach ($container as $type => $queries) {
44 44
             $queries = is_array($queries) ? $queries : [$queries];
45 45
 
46
-            array_walk($queries, function ($query) use ($type) {
46
+            array_walk($queries, function($query) use ($type) {
47 47
                 $this->add($query, $type);
48 48
             });
49 49
         }
Please login to merge, or discard this patch.