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 |
||
51 | 2 | public function write(Buffer $buffer) |
|
52 | { |
||
53 | 2 | if (! $this->sysmis) { |
|
54 | 1 | $this->sysmis = -PHP_FLOAT_MAX; |
|
55 | } |
||
56 | |||
57 | 2 | if (! $this->highest) { |
|
58 | 1 | $this->highest = PHP_FLOAT_MAX; |
|
59 | } |
||
60 | |||
61 | 2 | if (! $this->lowest) { |
|
62 | 1 | $this->lowest = -PHP_FLOAT_MAX; |
|
63 | } |
||
64 | |||
65 | 2 | parent::write($buffer); |
|
66 | 2 | $buffer->writeDouble($this->sysmis); |
|
67 | 2 | $buffer->writeDouble($this->highest); |
|
68 | 2 | $buffer->writeDouble($this->lowest); |
|
69 | 2 | } |
|
71 |