diff --git a/src/Console/StartWebSocketServer.php b/src/Console/StartWebSocketServer.php index f3ee0e8..979cd05 100644 --- a/src/Console/StartWebSocketServer.php +++ b/src/Console/StartWebSocketServer.php @@ -139,7 +139,7 @@ class StartWebSocketServer extends Command protected function configurePubSubReplication() { - app(ReplicationInterface::class)->boot($this->loop); + $this->laravel->get(ReplicationInterface::class)->boot($this->loop); return $this; }