| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | public function __construct(Cell $cell, float $currencyWidth, float $amountWidth, float $height) |
||
| 15 | { |
||
| 16 | $table = $cell->addTable([ |
||
| 17 | 'layout' => Table::LAYOUT_FIXED, |
||
| 18 | 'width' => PhpWordHelper::percentToPct(100), |
||
| 19 | 'unit' => 'pct', |
||
| 20 | ]); |
||
| 21 | $row = $table->addRow(PhpWordHelper::mmToTwip($height)); |
||
|
|
|||
| 22 | $this->currencyCell = $row->addCell(PhpWordHelper::mmToTwip($currencyWidth)); |
||
| 23 | $this->amountCell = $row->addCell(PhpWordHelper::mmToTwip($amountWidth)); |
||
| 24 | } |
||
| 36 |