| Conditions | 5 |
| Paths | 6 |
| Total Lines | 13 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 30 |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | protected function hämta_tipsrader(): void { |
||
| 24 | $u13 = $this->utdelning->utdelningsdata(); |
||
| 25 | |||
| 26 | foreach ($this->odds->tipsdata() as $omgång => $tipsrad_012) { |
||
| 27 | if (isset($u13[$omgång])) { |
||
| 28 | $this->totalt_antal_rader++; |
||
| 29 | |||
| 30 | if ($u13[$omgång] === 0) { |
||
| 31 | $u13[$omgång] = MAXVINST; |
||
| 32 | } |
||
| 33 | |||
| 34 | if (in($u13[$omgång], $this->utdelning_13_min, $this->utdelning_13_max)) { |
||
| 35 | $this->tipsrader[] = [$tipsrad_012, $u13[$omgång]]; |
||
| 36 | } |
||
| 41 |