Completed
Pull Request — master (#113)
by
unknown
09:25
created
src/Aggregation/PercentileRanksAggregation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@
 block discarded – undo
131 131
                 'size' => $this->getSize(),
132 132
                 'from' => $this->getFrom(),
133 133
             ],
134
-            function ($val) {
134
+            function($val) {
135 135
                 return (($val || is_array($val) || ($val || is_numeric($val))));
136 136
             }
137 137
         );
Please login to merge, or discard this patch.
src/Aggregation/PercentilesAggregation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@
 block discarded – undo
131 131
                 'size' => $this->getSize(),
132 132
                 'from' => $this->getFrom(),
133 133
             ],
134
-            function ($val) {
134
+            function($val) {
135 135
                 return (($val || is_array($val) || ($val || is_numeric($val))));
136 136
             }
137 137
         );
Please login to merge, or discard this patch.
src/Aggregation/Pipeline/DerivativeAggregation.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,8 +28,8 @@
 block discarded – undo
28 28
     {
29 29
         parent::__construct($name);
30 30
         $this->setBucketsPath($bucketsPath);
31
-        !$format ? : $this->setFormat($format);
32
-        !$gapPolicy ? : $this->setGapPolicy($gapPolicy);
31
+        !$format ?: $this->setFormat($format);
32
+        !$gapPolicy ?: $this->setGapPolicy($gapPolicy);
33 33
     }
34 34
 
35 35
     /**
Please login to merge, or discard this patch.
src/Aggregation/Pipeline/AvgBucketAggregation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
     {
23 23
         parent::__construct($name);
24 24
         $this->setBucketsPath($bucketsPath);
25
-        !$gapPolicy ? : $this->setGapPolicy($gapPolicy);
25
+        !$gapPolicy ?: $this->setGapPolicy($gapPolicy);
26 26
     }
27 27
 
28 28
     /**
Please login to merge, or discard this patch.