Completed
Pull Request — develop (#457)
by
unknown
03:35 queued 54s
created
src/Telegram.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
             throw new TelegramException('Bot Username not defined!');
149 149
         }
150 150
 
151
-        $this->api_key  = $api_key;
151
+        $this->api_key = $api_key;
152 152
         $this->bot_username = $bot_username;
153 153
 
154 154
         preg_match("/([0-9]*)\:.*/", $this->api_key, $matches);
@@ -896,7 +896,7 @@  discard block
 block discarded – undo
896 896
             throw new TelegramException('No command(s) provided!');
897 897
         }
898 898
 
899
-        $this->botan_enabled = false;   // Force disable Botan.io integration, we don't want to track self-executed commands!
899
+        $this->botan_enabled = false; // Force disable Botan.io integration, we don't want to track self-executed commands!
900 900
 
901 901
         $result = Request::getMe()->getResult();
902 902
 
@@ -908,8 +908,8 @@  discard block
 block discarded – undo
908 908
         $bot_name     = $result->getFirstName();
909 909
         $bot_username = $result->getUsername();
910 910
 
911
-        $this->enableAdmin($bot_id);    // Give bot access to admin commands
912
-        $this->getCommandsList();       // Load full commands list
911
+        $this->enableAdmin($bot_id); // Give bot access to admin commands
912
+        $this->getCommandsList(); // Load full commands list
913 913
 
914 914
         foreach ($commands as $command) {
915 915
             $this->update = new Update(
Please login to merge, or discard this patch.