Apply fixes from StyleCI
This commit is contained in:
parent
fefbe41f29
commit
1c9f43c852
@ -96,6 +96,7 @@ class API extends APIFactory
|
|||||||
public function serialize($filename)
|
public function serialize($filename)
|
||||||
{
|
{
|
||||||
Logger::log(['Serializing MadelineProto...']);
|
Logger::log(['Serializing MadelineProto...']);
|
||||||
|
|
||||||
return Serialization::serialize($filename, $this);
|
return Serialization::serialize($filename, $this);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -73,7 +73,6 @@ if ($MadelineProto === false) {
|
|||||||
\danog\MadelineProto\Logger::log(['Registering new user'], \danog\MadelineProto\Logger::NOTICE);
|
\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): '));
|
$authorization = $MadelineProto->complete_signup(readline('Please enter your first name: '), readline('Please enter your last name (can be empty): '));
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
$MadelineProto->bot_login(getenv('BOT_TOKEN'));
|
$MadelineProto->bot_login(getenv('BOT_TOKEN'));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user