mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-22 20:16:22 +00:00
chore: code cleanup.
This commit is contained in:
@@ -44,19 +44,6 @@ class FireflySessionProvider extends ServiceProvider
|
||||
$this->app->singleton(StartFireflySession::class);
|
||||
}
|
||||
|
||||
/**
|
||||
* Register the session manager instance.
|
||||
*/
|
||||
protected function registerSessionManager(): void
|
||||
{
|
||||
$this->app->singleton(
|
||||
'session',
|
||||
function ($app) {
|
||||
return new SessionManager($app);
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Register the session driver instance.
|
||||
*/
|
||||
@@ -72,4 +59,17 @@ class FireflySessionProvider extends ServiceProvider
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Register the session manager instance.
|
||||
*/
|
||||
protected function registerSessionManager(): void
|
||||
{
|
||||
$this->app->singleton(
|
||||
'session',
|
||||
function ($app) {
|
||||
return new SessionManager($app);
|
||||
}
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user