From 57bf78489becd82f946f7f1e267d3e8259b5f9ab Mon Sep 17 00:00:00 2001 From: James Cole Date: Sat, 25 Sep 2021 16:25:03 +0200 Subject: [PATCH] Add php8 code. --- app/Http/Controllers/Controller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);