Skip to content

Commit

Permalink
Fix static analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
timacdonald committed Jan 18, 2024
1 parent 779de42 commit 389dcbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PulseServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 389dcbb

Please sign in to comment.