diff --git a/app/Api/V1/Controllers/Autocomplete/AccountController.php b/app/Api/V1/Controllers/Autocomplete/AccountController.php index 45c5398716..cb31c41a62 100644 --- a/app/Api/V1/Controllers/Autocomplete/AccountController.php +++ b/app/Api/V1/Controllers/Autocomplete/AccountController.php @@ -85,7 +85,7 @@ class AccountController extends Controller $query = $data['query']; $date = $data['date'] ?? today(config('app.timezone')); $return = []; - $timer = Timer::getInstance(); + $timer = Timer::getInstance(); $timer->start(sprintf('AC accounts "%s"', $query)); $result = $this->repository->searchAccount((string) $query, $types, $this->parameters->get('limit')); diff --git a/app/Http/Controllers/Account/ShowController.php b/app/Http/Controllers/Account/ShowController.php index 27e46de601..6419c10aa3 100644 --- a/app/Http/Controllers/Account/ShowController.php +++ b/app/Http/Controllers/Account/ShowController.php @@ -82,7 +82,7 @@ class ShowController extends Controller * */ public function show(Request $request, Account $account, ?Carbon $start = null, ?Carbon $end = null) { - if(0 === $account->id) { + if (0 === $account->id) { throw new NotFoundHttpException(); } $objectType = config(sprintf('firefly.shortNamesByFullName.%s', $account->accountType->type)); @@ -119,7 +119,7 @@ class ShowController extends Controller $firstTransaction = $this->repository->oldestJournalDate($account) ?? $start; Log::debug('Start period overview'); - $timer = Timer::getInstance(); + $timer = Timer::getInstance(); $timer->start('period-overview'); $periods = $this->getAccountPeriodOverview($account, $firstTransaction, $end); diff --git a/app/Http/Controllers/ReportController.php b/app/Http/Controllers/ReportController.php index e40edf41e7..017aa4d9fe 100644 --- a/app/Http/Controllers/ReportController.php +++ b/app/Http/Controllers/ReportController.php @@ -188,7 +188,7 @@ class ReportController extends Controller $start->endOfDay(); // end of day so the final balance is at the end of that day. $end->endOfDay(); - app('view')->share('subTitle', trans('firefly.report_default', ['start' => $start->isoFormat($this->monthAndDayFormat), 'end' => $end->isoFormat($this->monthAndDayFormat),])); + app('view')->share('subTitle', trans('firefly.report_default', ['start' => $start->isoFormat($this->monthAndDayFormat), 'end' => $end->isoFormat($this->monthAndDayFormat)])); $generator = ReportGeneratorFactory::reportGenerator('Standard', $start, $end); $generator->setAccounts($accounts); @@ -213,7 +213,7 @@ class ReportController extends Controller $start->endOfDay(); // end of day so the final balance is at the end of that day. $end->endOfDay(); - app('view')->share('subTitle', trans('firefly.report_double', ['start' => $start->isoFormat($this->monthAndDayFormat), 'end' => $end->isoFormat($this->monthAndDayFormat),])); + app('view')->share('subTitle', trans('firefly.report_double', ['start' => $start->isoFormat($this->monthAndDayFormat), 'end' => $end->isoFormat($this->monthAndDayFormat)])); $generator = ReportGeneratorFactory::reportGenerator('Account', $start, $end); $generator->setAccounts($accounts); diff --git a/app/Support/Http/Controllers/PeriodOverview.php b/app/Support/Http/Controllers/PeriodOverview.php index 7435445e2d..afbc198ce2 100644 --- a/app/Support/Http/Controllers/PeriodOverview.php +++ b/app/Support/Http/Controllers/PeriodOverview.php @@ -80,7 +80,7 @@ trait PeriodOverview protected function getAccountPeriodOverview(Account $account, Carbon $start, Carbon $end): array { Log::debug('Now in getAccountPeriodOverview()'); - $timer = Timer::getInstance(); + $timer = Timer::getInstance(); $timer->start('account-period-total'); $this->accountRepository = app(AccountRepositoryInterface::class); $range = Navigation::getViewRange(true); diff --git a/config/firefly.php b/config/firefly.php index 29f6215806..c0143e230a 100644 --- a/config/firefly.php +++ b/config/firefly.php @@ -78,8 +78,8 @@ return [ 'running_balance_column' => env('USE_RUNNING_BALANCE', false), // see cer.php for exchange rates feature flag. ], - 'version' => 'develop/2025-08-09', - 'build_time' => 1754766074, + 'version' => 'develop/2025-08-10', + 'build_time' => 1754800876, 'api_version' => '2.1.0', // field is no longer used. 'db_version' => 26,