From 6c3002c64a76b60f258046b99371fb69e1a39248 Mon Sep 17 00:00:00 2001 From: Leendert de Borst Date: Mon, 6 Jan 2025 15:23:58 +0000 Subject: [PATCH] Code style refactor --- app/Http/Controllers/PlanetAbandonController.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/Http/Controllers/PlanetAbandonController.php b/app/Http/Controllers/PlanetAbandonController.php index 597de93e..0b3ec939 100644 --- a/app/Http/Controllers/PlanetAbandonController.php +++ b/app/Http/Controllers/PlanetAbandonController.php @@ -146,8 +146,7 @@ public function abandon(PlayerService $player): JsonResponse try { // Abandon the planet. $planetToDelete->abandonPlanet(); - } - catch (Exception $e) { + } catch (Exception $e) { // Exception occured, return error. return response()->json([ 'status' => 'error',