Skip to content

Commit

Permalink
run pint
Browse files Browse the repository at this point in the history
  • Loading branch information
Boy132 committed May 12, 2024
1 parent 399bed7 commit b813de0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/Services/Servers/BuildModificationService.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function handle(Server $server, array $data): Server
throw_unless($existingAllocation, new DisplayException('The requested default allocation is not currently assigned to this server.'));
}

if(!isset($data['oom_killer']) && isset($data['oom_disabled'])) {
if (!isset($data['oom_killer']) && isset($data['oom_disabled'])) {
$data['oom_killer'] = !$data['oom_disabled'];
}

Expand Down
2 changes: 1 addition & 1 deletion app/Services/Servers/ServerCreationService.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function __construct(
*/
public function handle(array $data, DeploymentObject $deployment = null): Server
{
if(!isset($data['oom_killer']) && isset($data['oom_disabled'])) {
if (!isset($data['oom_killer']) && isset($data['oom_disabled'])) {
$data['oom_killer'] = !$data['oom_disabled'];
}

Expand Down

0 comments on commit b813de0

Please sign in to comment.