@@ -787,7 +787,7 @@ discard block |
||
787 | 787 | throw new TelegramException('Hook url is empty!'); |
788 | 788 | } |
789 | 789 | |
790 | - $data = array_intersect_key($data, array_flip([ |
|
790 | + $data = array_intersect_key($data, array_flip([ |
|
791 | 791 | 'certificate', |
792 | 792 | 'max_connections', |
793 | 793 | 'allowed_updates', |
@@ -902,7 +902,7 @@ discard block |
||
902 | 902 | } |
903 | 903 | |
904 | 904 | $this->run_commands = true; |
905 | - $this->botan_enabled = false; // Force disable Botan.io integration, we don't want to track self-executed commands! |
|
905 | + $this->botan_enabled = false; // Force disable Botan.io integration, we don't want to track self-executed commands! |
|
906 | 906 | |
907 | 907 | $result = Request::getMe(); |
908 | 908 | |
@@ -919,8 +919,8 @@ discard block |
||
919 | 919 | } |
920 | 920 | |
921 | 921 | |
922 | - $this->enableAdmin($bot_id); // Give bot access to admin commands |
|
923 | - $this->getCommandsList(); // Load full commands list |
|
922 | + $this->enableAdmin($bot_id); // Give bot access to admin commands |
|
923 | + $this->getCommandsList(); // Load full commands list |
|
924 | 924 | |
925 | 925 | foreach ($commands as $command) { |
926 | 926 | $this->update = new Update( |