Lines
n/a
0 / 0
Methods
n/a
0 / 0
Classes
n/a
0 / 0
| Name | Lines | Methods | CRAP | ||||
|---|---|---|---|---|---|---|---|
| 10 | final class CustomMedalsImportResult | |
| 11 | { | |
| 12 | /** Medals the user did not have. */ | |
| 13 | public int $added = 0; | |
| 14 | ||
| 15 | /** Medals at a higher tier than the user's. */ | |
| 16 | public int $upgraded = 0; | |
| 17 | ||
| 18 | /** Medals the user already had at the same or a higher tier. */ | |
| 19 | public int $kept = 0; | |
| 20 | ||
| 21 | /** @var list<string> what was not imported */ | |
| 22 | public array $errors = []; | |
| 23 | } |