Lines 100.00% 1 / 1
Methods 100.00% 1 / 1
Classes 100.00% 1 / 1
Name Lines Methods CRAP
 __construct 100.00% 1 / 1 100.00% 1 / 1 1
16final readonly class HeroData
17{
18    /**
19     * @param Gauge<Experience> $experience
20     * @param list<QuestGroupId> $quests
21     *
22     * @mago-expect lint:excessive-parameter-list
23     */
24    public function __construct(
25        public PlayerSpawnId $spawnId,
26        public PlayerName $name,
27        public PlayerLevel $level,
28        public Gauge $experience,
29        public HeroWallet $wallet,
30        public bool $member,
31        public Quantity $bagSlots,
32        public Quantity $bankSlots,
33        public array $quests,
34    ) {}
35}