@@ -74,7 +74,7 @@ discard block |
||
74 | 74 | AttackAction::invoke($fighter, $this->findOpponent($fighter), $action, $this->playerAction); |
75 | 75 | } |
76 | 76 | |
77 | - private function askForAction(): Attack|Usable |
|
77 | + private function askForAction(): Attack | Usable |
|
78 | 78 | { |
79 | 79 | $action = $this->playerAction->askForChoice( |
80 | 80 | 'Select action', |
@@ -102,7 +102,7 @@ discard block |
||
102 | 102 | return $action; |
103 | 103 | } |
104 | 104 | |
105 | - private function askForUsable(): Attack|Usable |
|
105 | + private function askForUsable(): Attack | Usable |
|
106 | 106 | { |
107 | 107 | $selectedItem = $this->playerAction->askForChoice( |
108 | 108 | 'Select item to use', |