Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
28 | 1 | public function getMessageString($withSeq = true, $withCrc = true): string |
|
29 | { |
||
30 | 1 | $this->newMessage('99'); |
|
31 | 1 | $this->addFixedOption($this->getVariable('Status'), 1); |
|
32 | 1 | $this->addFixedOption($this->getVariable('Width'), 3); |
|
33 | 1 | $this->addFixedOption(sprintf("%03.2f", (float)$this->getVariable('Version')), 4); |
|
34 | |||
35 | 1 | return $this->returnMessage($withSeq, $withCrc); |
|
36 | } |
||
38 |