Apply fixes from StyleCI

This commit is contained in:
Daniil Gentili 2017-12-03 17:01:12 +00:00 committed by StyleCI Bot
parent dd06d6c92e
commit 3ae434e206
2 changed files with 2 additions and 2 deletions

View File

@ -143,6 +143,6 @@ $secret = $update['update']['message']['chat_id'];
} catch (\danog\MadelineProto\Exception $e) {
var_dump($e->getMessage());
}
//sleep(1);
//sleep(1);
echo 'Wrote '.\danog\MadelineProto\Serialization::serialize('s.madeline', $MadelineProto).' bytes'.PHP_EOL;
}

View File

@ -22,7 +22,7 @@ trait ResponseHandler
/*if (isset($update['message']['decrypted_message']['random_bytes']) && strlen($update['message']['decrypted_message']['random_bytes']) < 15) {
throw new \danog\MadelineProto\ResponseException(\danog\MadelineProto\Lang::$current_lang['rand_bytes_too_short']);
}*/ // already checked in TL.php
//var_dump($update);
//var_dump($update);
switch ($update['message']['decrypted_message']['_']) {
case 'decryptedMessageService':
switch ($update['message']['decrypted_message']['action']['_']) {