@@ -14,7 +14,7 @@ |
||
14 | 14 | public function findWeaponMasteryForWeaponType(WeaponType $weaponType): ?WeaponMastery |
15 | 15 | { |
16 | 16 | $weaponMasteryTalents = $this->filter( |
17 | - static fn(Talent $talent): bool |
|
17 | + static fn(Talent $talent) : bool |
|
18 | 18 | => $talent instanceof WeaponMastery && $talent->getType()->equals($weaponType), |
19 | 19 | ); |
20 | 20 |
@@ -70,7 +70,7 @@ |
||
70 | 70 | |
71 | 71 | private function getExperienceNeededFor(Level $level): Experience |
72 | 72 | { |
73 | - return match (true) { |
|
73 | + return match(true) { |
|
74 | 74 | $level->isGreaterThan(new Level(20)) => new Experience(3000), |
75 | 75 | $level->isGreaterThan(new Level(10)) => new Experience(2000), |
76 | 76 | default => new Experience(1000), |