Conditions | 2 |
Paths | 2 |
Total Lines | 9 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 2 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
50 | 2 | public function build(array $dataRow, $styleId = 0) |
|
51 | { |
||
52 | 2 | $cellXml = ''; |
|
53 | 2 | foreach (array_values($dataRow) as $cellNumber => $cellValue) { |
|
54 | 2 | $cellXml .= $this->cellBuilder->build($this->rowNumber, $cellNumber, $cellValue, $styleId); |
|
55 | 2 | } |
|
56 | |||
57 | 2 | return sprintf(self::ROW_XML, $this->rowNumber++, count($dataRow), $cellXml); |
|
58 | } |
||
59 | } |
||
60 |