Passed
Push — develop ( 4f70bc...8588b9 )
by Armando
02:03
created
src/Telegram.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -856,7 +856,7 @@
 block discarded – undo
856 856
     protected function ucfirstUnicode($str, $encoding = 'UTF-8')
857 857
     {
858 858
         return mb_strtoupper(mb_substr($str, 0, 1, $encoding), $encoding)
859
-               . mb_strtolower(mb_substr($str, 1, mb_strlen($str), $encoding), $encoding);
859
+                . mb_strtolower(mb_substr($str, 1, mb_strlen($str), $encoding), $encoding);
860 860
     }
861 861
 
862 862
     /**
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -353,7 +353,7 @@  discard block
 block discarded – undo
353 353
             }
354 354
 
355 355
             if ($this->last_update_id !== null) {
356
-                $offset = $this->last_update_id + 1;    //As explained in the telegram bot API documentation
356
+                $offset = $this->last_update_id + 1; //As explained in the telegram bot API documentation
357 357
             }
358 358
 
359 359
             $response = Request::getUpdates(
@@ -805,7 +805,7 @@  discard block
 block discarded – undo
805 805
             throw new TelegramException('Hook url is empty!');
806 806
         }
807 807
 
808
-        $data        = array_intersect_key($data, array_flip([
808
+        $data = array_intersect_key($data, array_flip([
809 809
             'certificate',
810 810
             'max_connections',
811 811
             'allowed_updates',
@@ -919,8 +919,8 @@  discard block
 block discarded – undo
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(
Please login to merge, or discard this patch.
src/Commands/AdminCommands/CleanupCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -122,7 +122,7 @@
 block discarded – undo
122 122
         }
123 123
 
124 124
         // Convert numeric-only values to days.
125
-        array_walk($clean_older_than, function (&$time) use ($custom_time) {
125
+        array_walk($clean_older_than, function(&$time) use ($custom_time) {
126 126
             if (!empty($custom_time)) {
127 127
                 $time = $custom_time;
128 128
             }
Please login to merge, or discard this patch.