Skip to content

Commit be6d74a

Browse files
style: linting
1 parent 3be06ce commit be6d74a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

bootstrap/helpers/docker.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@ function generateLabelsApplication(Application $application, ?ApplicationPreview
536536
if ($pull_request_id === 0) {
537537
if ($application->fqdn) {
538538
$domains = str(data_get($application, 'fqdn'))->explode(',');
539-
switch($application->destination->server->proxyType()) {
539+
switch ($application->destination->server->proxyType()) {
540540
case ProxyTypes::TRAEFIK_V2->value:
541541
$labels = $labels->merge(fqdnLabelsForTraefik(
542542
uuid: $appUuid,
@@ -547,7 +547,7 @@ function generateLabelsApplication(Application $application, ?ApplicationPreview
547547
is_stripprefix_enabled: $application->isStripprefixEnabled(),
548548
redirect_direction: $application->redirect
549549
));
550-
break;
550+
break;
551551
case ProxyTypes::CADDY->value:
552552
$labels = $labels->merge(fqdnLabelsForCaddy(
553553
network: $application->destination->network,
@@ -559,7 +559,7 @@ function generateLabelsApplication(Application $application, ?ApplicationPreview
559559
is_stripprefix_enabled: $application->isStripprefixEnabled(),
560560
redirect_direction: $application->redirect
561561
));
562-
break;
562+
break;
563563
}
564564
}
565565
} else {
@@ -569,7 +569,7 @@ function generateLabelsApplication(Application $application, ?ApplicationPreview
569569
$domains = collect([]);
570570
}
571571

572-
switch($application->destination->server->proxyType()) {
572+
switch ($application->destination->server->proxyType()) {
573573
case ProxyTypes::TRAEFIK_V2->value:
574574
$labels = $labels->merge(fqdnLabelsForTraefik(
575575
uuid: $appUuid,

bootstrap/helpers/shared.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1306,7 +1306,7 @@ function parseDockerComposeFile(Service|Application $resource, bool $isNew = fal
13061306
$serviceLabels = $serviceLabels->merge($defaultLabels);
13071307
if (! $isDatabase && $fqdns->count() > 0) {
13081308
if ($fqdns) {
1309-
switch($resource->destination->server->proxyType()) {
1309+
switch ($resource->destination->server->proxyType()) {
13101310
case ProxyTypes::TRAEFIK_V2->value:
13111311
$serviceLabels = $serviceLabels->merge(fqdnLabelsForTraefik(
13121312
uuid: $resource->uuid,

0 commit comments

Comments
 (0)