Skip to content

Firefly III: a personal finances manager

Add php8 code.

James Cole57bf78489bec
diff --git a/app/Http/Controllers/Controller.php b/app/Http/Controllers/Controller.php
index 4093cb2ac8..5031532dfb 100644
--- a/app/Http/Controllers/Controller.php
+++ b/app/Http/Controllers/Controller.php
@@ -89,7 +89,7 @@ abstract class Controller extends BaseController
app('view')->share('FF_IS_BETA', $isBeta);
$this->middleware(
- function ($request, $next) {
+ function ($request, $next): mixed {
$locale = app('steam')->getLocale();
// translations for specific strings:
$this->monthFormat = (string)trans('config.month', [], $locale);