|
@@ -141,7 +141,7 @@ discard block |
|
|
block discarded – undo |
|
141
|
141
|
case 404: |
|
142
|
142
|
throw new OpenViduSessionNotFoundException(); |
|
143
|
143
|
default: |
|
144
|
|
- throw new OpenViduException("Invalid response status code ".$response->getStatusCode(), $response->getStatusCode()); |
|
|
144
|
+ throw new OpenViduException("Invalid response status code " . $response->getStatusCode(), $response->getStatusCode()); |
|
145
|
145
|
} |
|
146
|
146
|
} |
|
147
|
147
|
|
|
@@ -307,7 +307,7 @@ discard block |
|
|
block discarded – undo |
|
307
|
307
|
private function leaveSession(string $connectionId) |
|
308
|
308
|
{ |
|
309
|
309
|
$connectionClosed = null; |
|
310
|
|
- $this->activeConnections = array_filter($this->activeConnections, function (Connection $connection) use (&$connectionClosed, $connectionId) { |
|
|
310
|
+ $this->activeConnections = array_filter($this->activeConnections, function(Connection $connection) use (&$connectionClosed, $connectionId) { |
|
311
|
311
|
if ($connection->getConnectionId() !== $connectionId) { |
|
312
|
312
|
return true; |
|
313
|
313
|
} |
Please login to merge, or discard this patch.