Fix styling

This commit is contained in:
Thijmen
2024-06-10 20:43:34 +00:00
committed by github-actions[bot]
parent 41fb6a1fc9
commit d86274cc37
429 changed files with 5307 additions and 2831 deletions

View File

@@ -9,12 +9,13 @@ use Lorisleiva\Actions\Concerns\AsAction;
class StopApplicationOneServer
{
use AsAction;
public function handle(Application $application, Server $server)
{
if ($application->destination->server->isSwarm()) {
return;
}
if (!$server->isFunctional()) {
if (! $server->isFunctional()) {
return 'Server is not functional';
}
try {
@@ -32,6 +33,7 @@ class StopApplicationOneServer
}
} catch (\Exception $e) {
ray($e->getMessage());
return $e->getMessage();
}
}