Passed
Push — min_php_7.2 ( 335d48...68d6f2 )
by Armando
02:01
created
src/Telegram.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -427,7 +427,7 @@  discard block
 block discarded – undo
427 427
             }
428 428
 
429 429
             if ($this->last_update_id !== null) {
430
-                $offset = $this->last_update_id + 1;    //As explained in the telegram bot API documentation
430
+                $offset = $this->last_update_id + 1; //As explained in the telegram bot API documentation
431 431
             }
432 432
 
433 433
             $response = Request::getUpdates([
@@ -890,7 +890,7 @@  discard block
 block discarded – undo
890 890
             throw new TelegramException('Hook url is empty!');
891 891
         }
892 892
 
893
-        $data        = array_intersect_key($data, array_flip([
893
+        $data = array_intersect_key($data, array_flip([
894 894
             'certificate',
895 895
             'max_connections',
896 896
             'allowed_updates',
@@ -1006,7 +1006,7 @@  discard block
 block discarded – undo
1006 1006
         // Give bot access to admin commands
1007 1007
         $this->enableAdmin($bot_id);
1008 1008
 
1009
-        $newUpdate = static function ($text = '') use ($bot_id, $bot_name, $bot_username) {
1009
+        $newUpdate = static function($text = '') use ($bot_id, $bot_name, $bot_username) {
1010 1010
             return new Update([
1011 1011
                 'update_id' => 0,
1012 1012
                 'message'   => [
Please login to merge, or discard this patch.