mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Add php8 code.
This commit is contained in:
parent
5df04cb5ff
commit
57bf78489b
@ -89,7 +89,7 @@ abstract class Controller extends BaseController
|
|||||||
app('view')->share('FF_IS_BETA', $isBeta);
|
app('view')->share('FF_IS_BETA', $isBeta);
|
||||||
|
|
||||||
$this->middleware(
|
$this->middleware(
|
||||||
function ($request, $next) {
|
function ($request, $next): mixed {
|
||||||
$locale = app('steam')->getLocale();
|
$locale = app('steam')->getLocale();
|
||||||
// translations for specific strings:
|
// translations for specific strings:
|
||||||
$this->monthFormat = (string)trans('config.month', [], $locale);
|
$this->monthFormat = (string)trans('config.month', [], $locale);
|
||||||
|
Loading…
Reference in New Issue
Block a user