| Conditions | 1 |
| Paths | 1 |
| Total Lines | 18 |
| Code Lines | 16 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | protected function tabell(int|string $andel, string $s13, string $s12, string $s11, string $s10): string { |
||
| 21 | $th_rad = (new THRad())->th_rad(); |
||
| 22 | |||
| 23 | return <<< EOT |
||
| 24 | <p>Investerat i omgång {$this->tips->utdelning->spel->omgång}:</p> |
||
| 25 | <table> |
||
| 26 | $th_rad <tr class="höger"> |
||
| 27 | <td>{$this->tips->utdelning->spel->omgång}</td> |
||
| 28 | <td>{$this->tips->utdelning->spel->speltyp->produktnamn()}</td> |
||
| 29 | <td>{$this->tips->utdelning->spel->sekvens}</td> |
||
| 30 | <td>{$this->antal_utvalda_rader}</td> |
||
| 31 | <td>{$this->antal_genererade}</td> |
||
| 32 | <td>$andel</td> |
||
| 33 | <td>{$this->vinst}</td> |
||
| 34 | <td$s13>{$this->vinstdata[13]}</td> |
||
| 35 | <td$s12>{$this->vinstdata[12]}</td> |
||
| 36 | <td$s11>{$this->vinstdata[11]}</td> |
||
| 37 | <td$s10>{$this->vinstdata[10]}</td> |
||
| 38 | </tr> |
||
| 44 |