From d1142f7b12820daa9cd6c2aafdc79709696d85ed Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Sun, 12 Mar 2017 03:16:07 +0000 Subject: [PATCH] Apply fixes from StyleCI --- calls.php | 2 +- src/danog/MadelineProto/MTProtoTools/AuthKeyHandler.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/calls.php b/calls.php index c539f4f88..6f8e82c84 100644 --- a/calls.php +++ b/calls.php @@ -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; } diff --git a/src/danog/MadelineProto/MTProtoTools/AuthKeyHandler.php b/src/danog/MadelineProto/MTProtoTools/AuthKeyHandler.php index aa63fc144..52cef90a2 100644 --- a/src/danog/MadelineProto/MTProtoTools/AuthKeyHandler.php +++ b/src/danog/MadelineProto/MTProtoTools/AuthKeyHandler.php @@ -552,6 +552,7 @@ trait AuthKeyHandler return $res['id']; } + public function request_call($user) { $user = $this->get_info($user)['InputUser'];