This commit is contained in:
Marcel Pociot 2018-11-22 08:31:12 +01:00
parent 10ad9cd167
commit ba68a776ee
1 changed files with 2 additions and 2 deletions

View File

@ -46,9 +46,9 @@ class EchoServer extends WebSocketController
])); ]));
} }
public function onMessage(ConnectionInterface $conn, MessageInterface $message) public function onMessage(ConnectionInterface $connconnection, MessageInterface $message)
{ {
$message = RespondableMessageFactory::createForMessage($message, $conn, $this->channelManager); $message = RespondableMessageFactory::createForMessage($message, $connconnection, $this->channelManager);
$message->respond(); $message->respond();
} }