Completed
Push — develop ( 6c3e46...6f27de )
by Armando
06:09
created
src/Request.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -238,7 +238,7 @@
 block discarded – undo
238 238
      *
239 239
      * @param \Longman\TelegramBot\Entities\File $file
240 240
      *
241
-     * @return boolean
241
+     * @return boolean|string
242 242
      * @throws \Longman\TelegramBot\Exception\TelegramException
243 243
      */
244 244
     public static function downloadFile(File $file)
Please login to merge, or discard this patch.
src/Telegram.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -908,7 +908,7 @@  discard block
 block discarded – undo
908 908
         }
909 909
 
910 910
         $this->run_commands = true;
911
-        $this->botan_enabled = false;   // Force disable Botan.io integration, we don't want to track self-executed commands!
911
+        $this->botan_enabled = false; // Force disable Botan.io integration, we don't want to track self-executed commands!
912 912
 
913 913
         $result = Request::getMe()->getResult();
914 914
 
@@ -920,8 +920,8 @@  discard block
 block discarded – undo
920 920
         $bot_name     = $result->getFirstName();
921 921
         $bot_username = $result->getUsername();
922 922
 
923
-        $this->enableAdmin($bot_id);    // Give bot access to admin commands
924
-        $this->getCommandsList();       // Load full commands list
923
+        $this->enableAdmin($bot_id); // Give bot access to admin commands
924
+        $this->getCommandsList(); // Load full commands list
925 925
 
926 926
         foreach ($commands as $command) {
927 927
             $this->update = new Update(
Please login to merge, or discard this patch.