diff --git a/src/Servers/Reverb/Factory.php b/src/Servers/Reverb/Factory.php index 6dd4c726..2c6340cf 100644 --- a/src/Servers/Reverb/Factory.php +++ b/src/Servers/Reverb/Factory.php @@ -69,17 +69,17 @@ public static function make( */ public static function makePusherRouter(): Router { - app()->singleton( + app()->singletonIf( ChannelManager::class, fn () => new ArrayChannelManager ); - app()->bind( + app()->bindIf( ChannelConnectionManager::class, fn () => new ArrayChannelConnectionManager ); - app()->singleton( + app()->singletonIf( PubSubIncomingMessageHandler::class, fn () => new PusherPubSubIncomingMessageHandler, );