@@ -28,8 +28,8 @@ |
||
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 | /** |
@@ -22,7 +22,7 @@ |
||
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 | /** |
@@ -145,8 +145,7 @@ |
||
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 |