| Conditions | 1 |
| Paths | 1 |
| Total Lines | 18 |
| Code Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 16 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 44 | 3 | protected function uppdatera_preferenser(): void { |
|
| 45 | 3 | $this->db_preferenser->int_preferens_i_intervall( |
|
| 46 | 3 | $this->attraktionsfaktor, |
|
| 47 | 3 | AF_MIN, |
|
| 48 | 3 | AF_MAX, |
|
| 49 | 3 | AF_STD, |
|
| 50 | 3 | 'hg.attraktionsfaktor' |
|
| 51 | 3 | ); |
|
| 52 | |||
| 53 | 3 | $this->db_preferenser->int_preferens_i_intervall( |
|
| 54 | 3 | $this->hg_min, |
|
| 55 | 3 | self::HG_MIN, |
|
|
|
|||
| 56 | 3 | self::HG_MAX, |
|
| 57 | 3 | self::HG_STD, |
|
| 58 | 3 | 'hg.hg_min' |
|
| 59 | 3 | ); |
|
| 60 | |||
| 61 | 3 | $this->db_preferenser->hämta_preferens('hg.hg_min'); |
|
| 62 | } |
||
| 64 |