@@ -209,20 +209,16 @@ |
||
209 | 209 | return [ |
210 | 210 | static::_LAST => |
211 | 211 | $formatted ? |
212 | - $this->format($this->getCurrentValue(), $units, $precision) : |
|
213 | - $this->getCurrentValue(), |
|
212 | + $this->format($this->getCurrentValue(), $units, $precision) : $this->getCurrentValue(), |
|
214 | 213 | static::_AVG => |
215 | 214 | $formatted ? |
216 | - $this->format($this->getAvgValue(), $units, $precision) : |
|
217 | - $this->getAvgValue(), |
|
215 | + $this->format($this->getAvgValue(), $units, $precision) : $this->getAvgValue(), |
|
218 | 216 | static::_MIN => |
219 | 217 | $formatted ? |
220 | - $this->format($minValue, $units, $precision) : |
|
221 | - $minValue, |
|
218 | + $this->format($minValue, $units, $precision) : $minValue, |
|
222 | 219 | static::_MAX => |
223 | 220 | $formatted ? |
224 | - $this->format($this->getMaxValue(), $units, $precision) : |
|
225 | - $this->getMaxValue(), |
|
221 | + $this->format($this->getMaxValue(), $units, $precision) : $this->getMaxValue(), |
|
226 | 222 | static::_COUNT => $count, |
227 | 223 | ]; |
228 | 224 |