mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-17 15:18:05 +00:00
[chore] fix phpstan errors.
This commit is contained in:
@@ -118,7 +118,7 @@ abstract class Controller extends BaseController
|
||||
$this->defaultCurrency =null;
|
||||
// get shown-intro-preference:
|
||||
if (auth()->check()) {
|
||||
$this->defaultCurrency = Amount::getDefaultCurrency();
|
||||
$this->defaultCurrency = Amount::getNativeCurrency();
|
||||
$language = Steam::getLanguage();
|
||||
$locale = Steam::getLocale();
|
||||
$darkMode = app('preferences')->get('darkMode', 'browser')->data;
|
||||
|
||||
@@ -42,8 +42,7 @@ class EditController extends Controller
|
||||
$mainTitleIcon = 'fa-book';
|
||||
app('log')->debug(sprintf('Now at %s', __METHOD__));
|
||||
|
||||
return view('administrations.edit') // @phpstan-ignore-line
|
||||
->with(compact('title', 'subTitle', 'mainTitleIcon'))
|
||||
return view('administrations.edit')->with(compact('title', 'subTitle', 'mainTitleIcon'))
|
||||
;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user