Passed
Push — master ( 954430...fcf71b )
by Paweł
02:57
created
src/Fight/Fight.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
             ? $this->askForAction($playerAction, $attacker)
77 77
             : $attacker->getTalents()->filterAttacks()->getIterator()->current(); // todo
78 78
 
79
-        $damage = match (true) {
79
+        $damage = match(true) {
80 80
             $attack instanceof MeleeAttack => $attack->getDamage(
81 81
                 $attacker->getWeapon() ?? throw FightException::weaponRequired(),
82 82
             ),
Please login to merge, or discard this patch.
src/Player/PlayerAction.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
 
21 21
     public function askForConfirmation(string $question): bool;
22 22
 
23
-    public function tell(string|array $message): void;
23
+    public function tell(string | array $message): void;
24 24
 
25 25
     public function newTour(string $message): void;
26 26
 
Please login to merge, or discard this patch.
src/Infrastructure/Cli/PlayerIO.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
         return $this->io->confirm($question);
40 40
     }
41 41
 
42
-    public function tell(string|array $message): void
42
+    public function tell(string | array $message): void
43 43
     {
44 44
         sleep(1);
45 45
         $this->io->text($message);
Please login to merge, or discard this patch.