From e8056834aac4faacc121c1f4eace13daba410f97 Mon Sep 17 00:00:00 2001 From: Bradley Schofield Date: Thu, 17 Aug 2023 15:55:28 +0100 Subject: [PATCH] Run Formatter --- app/controllers/api/migrations.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/controllers/api/migrations.php b/app/controllers/api/migrations.php index 33c645ef75..a74b460e91 100644 --- a/app/controllers/api/migrations.php +++ b/app/controllers/api/migrations.php @@ -454,7 +454,7 @@ App::get('/v1/migrations/appwrite/report') ->setStatusCode(Response::STATUS_CODE_OK) ->dynamic(new Document($appwrite->report($resources)), Response::MODEL_MIGRATION_REPORT); } catch (\Throwable $e) { - throw new Exception(Exception::GENERAL_SERVER_ERROR, 'Source Error: '.$e->getMessage()); + throw new Exception(Exception::GENERAL_SERVER_ERROR, 'Source Error: ' . $e->getMessage()); } }); @@ -480,7 +480,7 @@ App::get('/v1/migrations/firebase/report') ->setStatusCode(Response::STATUS_CODE_OK) ->dynamic(new Document($firebase->report($resources)), Response::MODEL_MIGRATION_REPORT); } catch (\Exception $e) { - throw new Exception(Exception::GENERAL_SERVER_ERROR, 'Source Error: '.$e->getMessage()); + throw new Exception(Exception::GENERAL_SERVER_ERROR, 'Source Error: ' . $e->getMessage()); } }); @@ -567,7 +567,7 @@ App::get('/v1/migrations/firebase/report/oauth') try { $report = $firebase->report($resources); } catch (\Exception $e) { - throw new Exception(Exception::GENERAL_SERVER_ERROR, 'Source Error: '.$e->getMessage()); + throw new Exception(Exception::GENERAL_SERVER_ERROR, 'Source Error: ' . $e->getMessage()); } $response @@ -873,7 +873,7 @@ App::get('/v1/migrations/supabase/report') ->setStatusCode(Response::STATUS_CODE_OK) ->dynamic(new Document($supabase->report($resources)), Response::MODEL_MIGRATION_REPORT); } catch (\Exception $e) { - throw new Exception(Exception::GENERAL_SERVER_ERROR, 'Source Error: '.$e->getMessage()); + throw new Exception(Exception::GENERAL_SERVER_ERROR, 'Source Error: ' . $e->getMessage()); } }); @@ -905,7 +905,7 @@ App::get('/v1/migrations/nhost/report') ->setStatusCode(Response::STATUS_CODE_OK) ->dynamic(new Document($nhost->report($resources)), Response::MODEL_MIGRATION_REPORT); } catch (\Exception $e) { - throw new Exception(Exception::GENERAL_SERVER_ERROR, 'Source Error: '.$e->getMessage()); + throw new Exception(Exception::GENERAL_SERVER_ERROR, 'Source Error: ' . $e->getMessage()); } });