This commit is contained in:
Daniil Gentili 2017-08-06 16:05:52 +02:00
commit ce9f258924

View File

@ -607,7 +607,7 @@ class MTProto extends \Volatile
public function reset_session($de = true, $auth_key = false)
{
if (!is_object($this->datacenter)) {
throw new Exception("The session is corrupted!");
throw new Exception('The session is corrupted!');
}
foreach ($this->datacenter->sockets as $id => $socket) {
if ($de) {