Apply fixes from StyleCI

This commit is contained in:
Daniil Gentili 2017-08-29 15:00:47 +00:00 committed by StyleCI Bot
parent fefbe41f29
commit 1c9f43c852
2 changed files with 1 additions and 1 deletions

View File

@ -96,6 +96,7 @@ class API extends APIFactory
public function serialize($filename)
{
Logger::log(['Serializing MadelineProto...']);
return Serialization::serialize($filename, $this);
}
}

View File

@ -73,7 +73,6 @@ if ($MadelineProto === false) {
\danog\MadelineProto\Logger::log(['Registering new user'], \danog\MadelineProto\Logger::NOTICE);
$authorization = $MadelineProto->complete_signup(readline('Please enter your first name: '), readline('Please enter your last name (can be empty): '));
}
} else {
$MadelineProto->bot_login(getenv('BOT_TOKEN'));
}