Apply fixes from StyleCI

This commit is contained in:
Daniil Gentili 2017-03-12 03:16:07 +00:00 committed by StyleCI Bot
parent ada0fc7df9
commit d1142f7b12
2 changed files with 2 additions and 1 deletions

View File

@ -66,5 +66,5 @@ if ($MadelineProto === false) {
$MadelineProto->request_call('@manuel15');
while (true) {
$MadelineProto->get_updates_difference();
echo 'Wrote '.\danog\MadelineProto\Serialization::serialize('session.madeline', $MadelineProto).' bytes'.PHP_EOL;
echo 'Wrote '.\danog\MadelineProto\Serialization::serialize('session.madeline', $MadelineProto).' bytes'.PHP_EOL;
}

View File

@ -552,6 +552,7 @@ trait AuthKeyHandler
return $res['id'];
}
public function request_call($user)
{
$user = $this->get_info($user)['InputUser'];