From eed68b5d95d7bed5460488764895739e5fa6a5d8 Mon Sep 17 00:00:00 2001 From: James Cole Date: Fri, 10 Apr 2020 10:47:24 +0200 Subject: [PATCH] Fix some code quality issues. --- .../Commands/Correction/CorrectOpeningBalanceCurrencies.php | 1 + app/Console/Commands/Correction/FixLongDescriptions.php | 1 + app/Console/Commands/Correction/FixRecurringTransactions.php | 1 + app/Console/Commands/CreateDatabase.php | 1 + app/Console/Commands/Export/ExportData.php | 1 + app/Console/Commands/Integrity/RestoreOAuthKeys.php | 1 + app/Console/Commands/Upgrade/MigrateRecurrenceMeta.php | 1 + app/Console/Commands/Upgrade/MigrateTagLocations.php | 1 + app/Exceptions/DuplicateTransactionException.php | 1 + app/Http/Controllers/Admin/TelemetryController.php | 1 + app/Http/Controllers/Auth/ConfirmPasswordController.php | 1 + app/Http/Controllers/Chart/TagReportController.php | 2 -- app/Http/Controllers/Chart/TransactionController.php | 1 + app/Http/Controllers/Export/IndexController.php | 1 + app/Http/Controllers/Profile/DataController.php | 1 + app/Models/AutoBudget.php | 1 + app/Models/Location.php | 1 + app/Models/Telemetry.php | 1 + app/Rules/IsTransferAccount.php | 1 + app/Rules/LessThanPiggyTarget.php | 1 + app/Services/FireflyIIIOrg/Update/UpdateRequest.php | 1 + app/Services/FireflyIIIOrg/Update/UpdateRequestInterface.php | 1 + app/Services/Internal/Support/LocationServiceTrait.php | 1 + app/Support/Cronjobs/AutoBudgetCronjob.php | 1 + app/Support/Export/ExportDataGenerator.php | 1 + app/Support/Search/AccountSearch.php | 1 + app/Support/Search/GenericSearchInterface.php | 1 + app/Support/Search/TransactionSearch.php | 1 + app/Support/Search/TransferSearch.php | 1 + app/Support/System/OAuthKeys.php | 1 + app/Support/Telemetry.php | 1 + public/v1/css/daterangepicker.css | 3 +-- 32 files changed, 31 insertions(+), 4 deletions(-) diff --git a/app/Console/Commands/Correction/CorrectOpeningBalanceCurrencies.php b/app/Console/Commands/Correction/CorrectOpeningBalanceCurrencies.php index 216a364e60..063e40e230 100644 --- a/app/Console/Commands/Correction/CorrectOpeningBalanceCurrencies.php +++ b/app/Console/Commands/Correction/CorrectOpeningBalanceCurrencies.php @@ -1,4 +1,5 @@ generator->multiCurrencyPieChart($result); return response()->json($data); - - return response()->json($data); } diff --git a/app/Http/Controllers/Chart/TransactionController.php b/app/Http/Controllers/Chart/TransactionController.php index 3db121c097..8f9798e215 100644 --- a/app/Http/Controllers/Chart/TransactionController.php +++ b/app/Http/Controllers/Chart/TransactionController.php @@ -1,4 +1,5 @@