| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 9 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 37 | 15 | public function compile(): string |
|
| 38 | { |
||
| 39 | 15 | return $this->query->body = $this->query |
|
| 40 | 15 | ->setCommand($this->getCommand()) |
|
| 41 | 15 | ->setKey($this->serverKey) |
|
| 42 | 15 | ->setSequence($this->localSequence) |
|
| 43 | 15 | ->setFilePosition($this->getFilePosition()) |
|
| 44 | 15 | ->setContent($this->getData()) |
|
| 45 | 15 | ->setExtraData($this->getExtraData()) |
|
| 46 | 15 | ->getPacket() |
|
| 47 | 15 | ; |
|
| 72 |