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