@@ -75,7 +75,7 @@ |
||
75 | 75 | |
76 | 76 | $this->initCommands(); |
77 | 77 | |
78 | - // Process all updates received |
|
78 | + // Process all updates received |
|
79 | 79 | while (true) { |
80 | 80 | |
81 | 81 | $updates = $this->getUpdates($offset, $limit, $timeout); |
@@ -100,7 +100,7 @@ |
||
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 | /** @} */ |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | |
54 | 54 | // Get the language from the bot |
55 | 55 | $sth = $this->pdo->prepare('SELECT language FROM ' . $this->user_table . ' WHERE ' |
56 | - . $this->id_column . ' = :chat_id'); |
|
56 | + . $this->id_column . ' = :chat_id'); |
|
57 | 57 | $sth->bindParam(':chat_id', $this->_chat_id); |
58 | 58 | |
59 | 59 | try { |
@@ -119,7 +119,7 @@ discard block |
||
119 | 119 | |
120 | 120 | // Update the language in the database |
121 | 121 | $sth = $this->pdo->prepare('UPDATE ' . $this->user_table . ' SET language = :language WHERE ' |
122 | - . $this->id_column . ' = :id'); |
|
122 | + . $this->id_column . ' = :id'); |
|
123 | 123 | $sth->bindParam(':language', $language); |
124 | 124 | $sth->bindParam(':id', $this->_chat_id); |
125 | 125 |
@@ -86,7 +86,7 @@ |
||
86 | 86 | } |
87 | 87 | |
88 | 88 | /** |
89 | - * \brief (<i>Internal</i>) Sort an array based on <code>prior</code> index value. |
|
89 | + * \brief (<i>Internal</i>) Sort an array based on <code>prior</code> index value. |
|
90 | 90 | * @param array $a First array. |
91 | 91 | * @param array $b Second array. |
92 | 92 | * @return int 1 If $a > $b, -1 if $a < $b, 0 otherwise. |
@@ -138,8 +138,8 @@ |
||
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 |