| Conditions | 3 | 
| Paths | 3 | 
| Total Lines | 11 | 
| Code Lines | 8 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 0 | 
| CRAP Score | 12 | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php | ||
| 29 | public function write(Buffer $buffer) | ||
| 30 |     { | ||
| 31 |         if ($this->data) { | ||
| 32 | $data = []; | ||
| 33 |             foreach ($this->data as $key => $value) { | ||
| 34 |                 $data[] = sprintf('%s=%d%c', $key, $value, 0); | ||
| 35 | } | ||
| 36 | $data = join(self::DELIMITER, $data); | ||
| 37 | $this->dataCount = strlen($data); | ||
| 38 | parent::write($buffer); | ||
| 39 | $buffer->writeString($data); | ||
| 40 | } | ||
| 43 |