diff --git a/src/ServiceProvider.php b/src/ServiceProvider.php index d7423320..917c4bc0 100644 --- a/src/ServiceProvider.php +++ b/src/ServiceProvider.php @@ -47,12 +47,12 @@ public function registerServer() $server->register(); - $this->app->bind( + $this->app->singleton( ConnectionManager::class, fn () => $server->buildConnectionManager() ); - $this->app->bind( + $this->app->singleton( ChannelManager::class, fn () => $server->buildChannelManager() );