Code cleanup

This commit is contained in:
James Cole
2023-11-04 14:18:49 +01:00
parent 5a35960434
commit ba0843d0bb
211 changed files with 566 additions and 568 deletions

View File

@@ -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.