. */ declare(strict_types=1); namespace FireflyIII\Providers; use FireflyIII\Http\Middleware\StartFireflySession; use Illuminate\Session\SessionServiceProvider as BaseSessionServiceProvider; /** * @codeCoverageIgnore * Class SessionServiceProvider. */ class SessionServiceProvider extends BaseSessionServiceProvider { /** * Register the service provider. */ public function register(): void { $this->registerSessionManager(); $this->registerSessionDriver(); $this->app->singleton(StartFireflySession::class); } }