We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
Conditions | 2 |
Paths | 2 |
Total Lines | 6 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
11 | public function buildBetaFunctionsProcessor(AbstractSmrPlayer $player): void { |
||
12 | $ship = $player->getShip(); |
||
13 | $weapon = SmrWeapon::getWeapon(Request::getInt('weapon_id')); |
||
14 | $amount = Request::getInt('amount'); |
||
15 | for ($i = 0; $i < $amount; $i++) { |
||
16 | $ship->addWeapon($weapon); |
||
17 | } |
||
21 |