Completed
Pull Request — master (#113)
by
unknown
09:25
created
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.
src/Aggregation/AbstractAggregation.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -145,8 +145,7 @@
 block discarded – undo
145 145
      */
146 146
     public function hasPipelines($family = null)
147 147
     {
148
-        return $family ? isset($this->pipelines[$family]) :
149
-            !empty($this->pipelines);
148
+        return $family ? isset($this->pipelines[$family]) : !empty($this->pipelines);
150 149
     }
151 150
 
152 151
 
Please login to merge, or discard this patch.