mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-10 13:21:21 +00:00
Fix code quality with rector [skip ci]
This commit is contained in:
@@ -51,7 +51,7 @@ class CurrencyServiceProvider extends ServiceProvider
|
||||
$this->app->bind(
|
||||
static function (Application $app): GroupCurrencyRepositoryInterface {
|
||||
/** @var CurrencyRepository $repository */
|
||||
$repository = app(CurrencyRepository::class);
|
||||
$repository = app(GroupCurrencyRepository::class);
|
||||
// phpstan does not get the reference to auth
|
||||
if ($app->auth->check()) { // @phpstan-ignore-line
|
||||
$repository->setUser(auth()->user());
|
||||
|
||||
Reference in New Issue
Block a user