From 389dcbbe4e3cbbe12c2cf6e601e1271c6ed78c80 Mon Sep 17 00:00:00 2001 From: Tim MacDonald Date: Fri, 19 Jan 2024 10:23:46 +1100 Subject: [PATCH] Fix static analysis --- src/PulseServiceProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PulseServiceProvider.php b/src/PulseServiceProvider.php index 3c454858..96964747 100644 --- a/src/PulseServiceProvider.php +++ b/src/PulseServiceProvider.php @@ -168,7 +168,7 @@ protected function registerComponents(): void }); $this->callAfterResolving('livewire', function (LivewireManager $livewire, Application $app) { - $middleware = collect($app->make('config')->get('pulse.middleware')) + $middleware = collect($app->make('config')->get('pulse.middleware')) // @phpstan-ignore argument.templateType argument.templateType ->map(fn ($middleware) => is_string($middleware) ? Str::before($middleware, ':') : $middleware)