Completed
Push — master ( 016132...993a3d )
by Danilo
03:40
created
src/Core/Updates.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@
 block discarded – undo
100 100
 
101 101
         // Exec getUpdates
102 102
         $this->execRequest('getUpdates?' . http_build_query($parameters)
103
-                                               . '&allowed_updates=' . json_encode($allowed_updates));
103
+                                                . '&allowed_updates=' . json_encode($allowed_updates));
104 104
     }
105 105
 
106 106
     /** @} */
Please login to merge, or discard this patch.
src/Entities/InlineKeyboard.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -138,8 +138,8 @@
 block discarded – undo
138 138
     {
139 139
         // If the user has already added a button in this row
140 140
         if ($this->column != 0) {
141
-             // Change row
142
-             $this->changeRow();
141
+                // Change row
142
+                $this->changeRow();
143 143
         }
144 144
 
145 145
         // Add buttons to the next row
Please login to merge, or discard this patch.
examples/EchoBot.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -9,10 +9,10 @@
 block discarded – undo
9 9
 require_once '../vendor/autoload.php';
10 10
 
11 11
 class EchoBot extends PhpBotFramework\Bot {
12
-  // Override processMessage in order to send user the same message it give us.
13
-  protected function processMessage($message) {
12
+    // Override processMessage in order to send user the same message it give us.
13
+    protected function processMessage($message) {
14 14
     $this->sendMessage($message['text']);
15
-  }
15
+    }
16 16
 }
17 17
 
18 18
 $bot = new EchoBot('YOUR_BOT_TOKEN');
Please login to merge, or discard this patch.
src/Localization/Language.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
 
62 62
         // Get the language from the bot
63 63
         $sth = $this->pdo->prepare('SELECT language FROM ' . $this->user_table . ' WHERE '
64
-                                                           . $this->id_column . ' = :chat_id');
64
+                                                            . $this->id_column . ' = :chat_id');
65 65
         $sth->bindParam(':chat_id', $this->_chat_id);
66 66
 
67 67
         try {
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
 
98 98
         // Update the language in the database
99 99
         $sth = $this->pdo->prepare('UPDATE ' . $this->user_table . ' SET language = :language WHERE '
100
-                                             . $this->id_column . ' = :id');
100
+                                                . $this->id_column . ' = :id');
101 101
         $sth->bindParam(':language', $language);
102 102
         $sth->bindParam(':id', $this->_chat_id);
103 103
 
Please login to merge, or discard this patch.
src/Database/LongPolling.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@
 block discarded – undo
95 95
         $offset = $this->getUpdateOffsetRedis($offset_key);
96 96
         $this->initCommands();
97 97
 
98
-         // Process all updates received
98
+            // Process all updates received
99 99
         while (true) {
100 100
             $updates = $this->getUpdates($offset, $limit, $timeout);
101 101
 
Please login to merge, or discard this patch.