mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-03 03:00:14 +00:00
Update files using Rector.
This commit is contained in:
@@ -46,8 +46,7 @@ class RuleServiceProvider extends ServiceProvider
|
||||
public function register(): void
|
||||
{
|
||||
$this->app->bind(
|
||||
RuleRepositoryInterface::class,
|
||||
static function (Application $app) {
|
||||
static function (Application $app): RuleRepositoryInterface {
|
||||
/** @var RuleRepository $repository */
|
||||
$repository = app(RuleRepository::class);
|
||||
if ($app->auth->check()) { // @phpstan-ignore-line (phpstan does not understand the reference to auth)
|
||||
|
Reference in New Issue
Block a user