From 6e6fa9671ea3e3e85acab14e39c2d46ce8ba7499 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Mon, 16 Jan 2017 00:57:03 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/danog/MadelineProto/Wrappers/Login.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/danog/MadelineProto/Wrappers/Login.php b/src/danog/MadelineProto/Wrappers/Login.php index 53652eff..df6559c7 100644 --- a/src/danog/MadelineProto/Wrappers/Login.php +++ b/src/danog/MadelineProto/Wrappers/Login.php @@ -52,7 +52,9 @@ trait Login $this->API->updates_key = 0; $this->API->get_updates_state(); $this->API->should_serialize = true; - if (!isset($this->API->settings['pwr']['pwr']) || !$this->settings['pwr']['pwr']) file_get_contents('https://api.pwrtelegram.xyz/bot'.$token.'/getme'); + if (!isset($this->API->settings['pwr']['pwr']) || !$this->settings['pwr']['pwr']) { + file_get_contents('https://api.pwrtelegram.xyz/bot'.$token.'/getme'); + } \danog\MadelineProto\Logger::log('Logged in successfully!'); return $this->API->datacenter->authorization;