Apply fixes from StyleCI

This commit is contained in:
Daniil Gentili 2017-08-27 18:21:24 +00:00 committed by StyleCI Bot
parent 90fc78014e
commit dffe765edc
2 changed files with 4 additions and 3 deletions

View File

@ -43,9 +43,9 @@ class MTProto
use \danog\MadelineProto\VoIP\AuthKeyHandler; use \danog\MadelineProto\VoIP\AuthKeyHandler;
use \danog\MadelineProto\Wrappers\DialogHandler; use \danog\MadelineProto\Wrappers\DialogHandler;
use \danog\MadelineProto\Wrappers\Login; use \danog\MadelineProto\Wrappers\Login;
/* /*
const V = 71; const V = 71;
*/ */
const V = 72; const V = 72;
const NOT_LOGGED_IN = 0; const NOT_LOGGED_IN = 0;

View File

@ -70,6 +70,7 @@ class Serialization
} }
class_exists('\Volatile'); class_exists('\Volatile');
\danog\MadelineProto\Logger::class_exists(); \danog\MadelineProto\Logger::class_exists();
try { try {
$unserialized = unserialize($tounserialize); $unserialized = unserialize($tounserialize);
} catch (\danog\MadelineProto\Exception $e) { } catch (\danog\MadelineProto\Exception $e) {