mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Code cleanup
This commit is contained in:
@@ -51,7 +51,7 @@ class FireflySessionProvider extends ServiceProvider
|
||||
{
|
||||
$this->app->singleton(
|
||||
'session',
|
||||
function ($app) {
|
||||
static function ($app) {
|
||||
return new SessionManager($app);
|
||||
}
|
||||
);
|
||||
@@ -64,7 +64,7 @@ class FireflySessionProvider extends ServiceProvider
|
||||
{
|
||||
$this->app->singleton(
|
||||
'session.store',
|
||||
function ($app) {
|
||||
static function ($app) {
|
||||
// First, we will create the session manager which is responsible for the
|
||||
// creation of the various session drivers when they are needed by the
|
||||
// application instance, and will resolve them on a lazy load basis.
|
||||
|
Reference in New Issue
Block a user