mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-05-04 21:23:36 +00:00
Fix a bunch of phpstan issues.
This commit is contained in:
@@ -61,7 +61,7 @@ final class NewUserController extends Controller
|
||||
/**
|
||||
* Form the user gets when he has no data in the system.
|
||||
*
|
||||
* @return Factory|Redirector|RedirectResponse|View
|
||||
* @return Factory|RedirectResponse|View
|
||||
*/
|
||||
public function index(): Factory|\Illuminate\Contracts\View\View|Redirector|RedirectResponse
|
||||
{
|
||||
@@ -83,7 +83,7 @@ final class NewUserController extends Controller
|
||||
/**
|
||||
* Store his new settings.
|
||||
*/
|
||||
public function submit(NewUserFormRequest $request, CurrencyRepositoryInterface $currencyRepository): Redirector|RedirectResponse
|
||||
public function submit(NewUserFormRequest $request, CurrencyRepositoryInterface $currencyRepository): RedirectResponse
|
||||
{
|
||||
$language = $request->convertString('language');
|
||||
if (!array_key_exists($language, config('firefly.languages'))) {
|
||||
|
||||
Reference in New Issue
Block a user