Skip to content

Commit 24aeb23

Browse files
committed
Remove unused $app param and ?BroadcastManager typehint (singleton(...) calls in BroadcastingConfigBootstrapper::revert)
1 parent a19d3b5 commit 24aeb23

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Bootstrappers/BroadcastingConfigBootstrapper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ public function bootstrap(Tenant $tenant): void
111111
public function revert(): void
112112
{
113113
// Revert the bound BroadcastManager and Broadcaster singletons back to their original state
114-
$this->app->singleton(BroadcastManager::class, fn (Application $app): ?BroadcastManager => $this->originalBroadcastManager);
115-
$this->app->singleton(Broadcaster::class, fn (Application $app) => $this->originalBroadcaster);
114+
$this->app->singleton(BroadcastManager::class, fn () => $this->originalBroadcastManager);
115+
$this->app->singleton(Broadcaster::class, fn () => $this->originalBroadcaster);
116116

117117
// Clear the resolved Broadcast facade instance so that it gets re-resolved as the central BroadcastManager
118118
Broadcast::clearResolvedInstance();

0 commit comments

Comments
 (0)