Passed
Push — master ( f388d7...367320 )
by Paweł
03:15
created
src/Build/Talent/TalentCollection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Build/LevelProgress.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
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),
Please login to merge, or discard this patch.