Skip to content

Commit

Permalink
fix psr12
Browse files Browse the repository at this point in the history
  • Loading branch information
yazilimmz committed Dec 26, 2024
1 parent f7bb4cf commit 75f15dc
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions app/Http/Controllers/FleetController.php
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,6 @@ public function dispatchSendFleet(PlayerService $player, FleetMissionService $fl
]);
}


/**
* Handles the dispatch of a fleet via shortcut buttons on galaxy page.
*
Expand Down Expand Up @@ -346,7 +345,6 @@ public function dispatchSendMiniFleet(PlayerService $player, FleetMissionService
$consumption = $fleetMissionService->calcConsumption($planet, $units, $targetCoordinate, 0, 10);
$consumption_resources = new Resources(0, 0, $consumption, 0);


$fleetMission = $fleetMissionService->createNewFromPlanet($planet, $targetCoordinate, $planetType, $mission_type, $units, $resources, $consumption_resources, 10);

// Calculate the actual amount of units sent.
Expand Down
1 change: 0 additions & 1 deletion tests/Feature/FleetDispatch/FleetDispatchTransportTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,6 @@ public function testDispatchFleetRecallMissionTwiceError(): void
{
$this->basicSetup();


// Assert that we begin with 5 small cargo ships on planet.
$response = $this->get('/shipyard');
$this->assertObjectLevelOnPage($response, 'small_cargo', 5, 'Small Cargo ships are not at 5 units at beginning of test.');
Expand Down
1 change: 0 additions & 1 deletion tests/FleetDispatchTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,6 @@ protected function dispatchFleet(Coordinate $coordinates, UnitCollection $units,
{
$unitsArray = $this->convertUnitsToArray($units);


$post = $this->post('/ajax/fleet/dispatch/send-fleet', [
'galaxy' => $coordinates->galaxy,
'system' => $coordinates->system,
Expand Down

0 comments on commit 75f15dc

Please sign in to comment.