Get rid of many useless blank lines
This commit is contained in:
@@ -28,7 +28,6 @@ function serializeApiResponse($data)
|
||||
if ($created_at) {
|
||||
unset($d['created_at']);
|
||||
$d['created_at'] = $created_at;
|
||||
|
||||
}
|
||||
if ($updated_at) {
|
||||
unset($d['updated_at']);
|
||||
@@ -59,7 +58,6 @@ function serializeApiResponse($data)
|
||||
if ($created_at) {
|
||||
unset($d['created_at']);
|
||||
$d['created_at'] = $created_at;
|
||||
|
||||
}
|
||||
if ($updated_at) {
|
||||
unset($d['updated_at']);
|
||||
|
@@ -581,7 +581,6 @@ function generateLabelsApplication(Application $application, ?ApplicationPreview
|
||||
redirect_direction: $application->redirect
|
||||
));
|
||||
}
|
||||
|
||||
}
|
||||
} else {
|
||||
if (data_get($preview, 'fqdn')) {
|
||||
@@ -633,7 +632,6 @@ function generateLabelsApplication(Application $application, ?ApplicationPreview
|
||||
is_stripprefix_enabled: $application->isStripprefixEnabled()
|
||||
));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
return $labels->all();
|
||||
|
@@ -21,7 +21,6 @@ function collectProxyDockerNetworksByServer(Server $server)
|
||||
})->flatten()->unique();
|
||||
|
||||
return $networks;
|
||||
|
||||
}
|
||||
function collectDockerNetworksByServer(Server $server)
|
||||
{
|
||||
|
@@ -3188,7 +3188,6 @@ function newParser(Application|Service $resource, int $pull_request_id = 0, ?int
|
||||
'is_build_time' => false,
|
||||
'is_preview' => false,
|
||||
]);
|
||||
|
||||
} else {
|
||||
$value = generateEnvValue($command, $resource);
|
||||
$resource->environment_variables()->where('key', $key->value())->where($nameOfId, $resource->id)->firstOrCreate([
|
||||
@@ -3616,7 +3615,6 @@ function newParser(Application|Service $resource, int $pull_request_id = 0, ?int
|
||||
'is_required' => $isRequired,
|
||||
]);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
if ($isApplication) {
|
||||
@@ -3980,7 +3978,6 @@ function convertComposeEnvironmentToArray($environment)
|
||||
}
|
||||
|
||||
return $convertedServiceVariables;
|
||||
|
||||
}
|
||||
function instanceSettings()
|
||||
{
|
||||
@@ -3989,7 +3986,6 @@ function instanceSettings()
|
||||
|
||||
function loadConfigFromGit(string $repository, string $branch, string $base_directory, int $server_id, int $team_id)
|
||||
{
|
||||
|
||||
$server = Server::find($server_id)->where('team_id', $team_id)->first();
|
||||
if (! $server) {
|
||||
return;
|
||||
|
Reference in New Issue
Block a user