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)