From b111f885729ccc3462bc8af13930adbac07eb539 Mon Sep 17 00:00:00 2001 From: alirezadp10 <33761594+alirezadp10@users.noreply.github.com> Date: Fri, 19 Jan 2024 17:01:26 +0330 Subject: [PATCH] remove unnecessary variable (#285) --- src/PulseServiceProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PulseServiceProvider.php b/src/PulseServiceProvider.php index 96964747..4b25295d 100644 --- a/src/PulseServiceProvider.php +++ b/src/PulseServiceProvider.php @@ -66,7 +66,7 @@ protected function registerIngest(): void */ public function boot(): void { - if ($enabled = $this->app->make('config')->get('pulse.enabled')) { + if ($this->app->make('config')->get('pulse.enabled')) { $this->app->make(Pulse::class)->register($this->app->make('config')->get('pulse.recorders')); $this->listenForEvents(); } else {