| Conditions | 4 |
| Paths | 8 |
| Total Lines | 18 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 11 |
| CRAP Score | 4 |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 56 | 7 | public function write(Buffer $buffer) |
|
| 57 | { |
||
| 58 | 7 | if (! $this->sysmis) { |
|
| 59 | 6 | $this->sysmis = -PHP_FLOAT_MAX; |
|
| 60 | } |
||
| 61 | |||
| 62 | 7 | if (! $this->highest) { |
|
| 63 | 6 | $this->highest = PHP_FLOAT_MAX; |
|
| 64 | } |
||
| 65 | |||
| 66 | 7 | if (! $this->lowest) { |
|
| 67 | 6 | $this->lowest = -PHP_FLOAT_MAX; |
|
| 68 | } |
||
| 69 | |||
| 70 | 7 | parent::write($buffer); |
|
| 71 | 7 | $buffer->writeDouble($this->sysmis); |
|
| 72 | 7 | $buffer->writeDouble($this->highest); |
|
| 73 | 7 | $buffer->writeDouble($this->lowest); |
|
| 74 | 7 | } |
|
| 76 |