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

View File

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