Revert "Merge branch 'dev' of github.com:cboden/Ratchet into dev"
This reverts commitb31a65a99a
, reversing changes made to68a618c1cd
.
This commit is contained in:
parent
b31a65a99a
commit
67538706ed
@ -126,7 +126,6 @@ class WebSocket implements ProtocolInterface {
|
|||||||
if ($command instanceof SendMessage) {
|
if ($command instanceof SendMessage) {
|
||||||
$version = $this->_clients[$command->getSocket()]->getVersion();
|
$version = $this->_clients[$command->getSocket()]->getVersion();
|
||||||
return $command->setMessage($version->frame($command->getMessage()));
|
return $command->setMessage($version->frame($command->getMessage()));
|
||||||
<<<<<<< HEAD
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($command instanceof \Traversable) {
|
if ($command instanceof \Traversable) {
|
||||||
@ -135,16 +134,6 @@ class WebSocket implements ProtocolInterface {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
=======
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($command instanceof \Traversable) {
|
|
||||||
foreach ($command as $cmd) {
|
|
||||||
$cmd = $this->prepareCommand($cmd);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
>>>>>>> 1d14119bb5582cf8ebfd7c506cbb93f3368ce852
|
|
||||||
return $command;
|
return $command;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user