Code cleanup.

This commit is contained in:
James Cole
2021-03-28 11:43:07 +02:00
parent 5abbb8a807
commit 2c575f3ca5
379 changed files with 304 additions and 1727 deletions

View File

@@ -64,11 +64,7 @@ class AuthServiceProvider extends ServiceProvider
);
$this->registerPolicies();
Passport::routes();
Passport::tokensExpireIn(now()->addDays(14));
}
}

View File

@@ -177,8 +177,6 @@ class EventServiceProvider extends ServiceProvider
Session::flash('error', 'Possible email error: ' . $e->getMessage());
}
Log::debug('If no error above this line, message was sent.');
}
);
}

View File

@@ -176,15 +176,11 @@ class FireflyServiceProvider extends ServiceProvider
// chart generator:
$this->app->bind(GeneratorInterface::class, ChartJsGenerator::class);
// other generators
$this->app->bind(UserRepositoryInterface::class, UserRepository::class);
$this->app->bind(TransactionTypeRepositoryInterface::class, TransactionTypeRepository::class);
$this->app->bind(AttachmentHelperInterface::class, AttachmentHelper::class);
$this->app->bind(
ObjectGroupRepositoryInterface::class,
static function (Application $app) {

View File

@@ -37,8 +37,6 @@ class RouteServiceProvider extends ServiceProvider
* @var string
*/
public const HOME = '/';
/**
* This namespace is applied to your controller routes.
*