@@ -14,7 +14,7 @@ discard block |
||
| 14 | 14 | * \brief (<i>Internal</i>)Get first update offset in redis. |
| 15 | 15 | * \details Called by getUpdatesRedis to get the offset saved in redis or to get it from telegram and save it in redis. |
| 16 | 16 | * @param $offset_key Name of the variable where the offset is saved on Redis |
| 17 | - * @return Id of the first update to process. |
|
| 17 | + * @return integer of the first update to process. |
|
| 18 | 18 | */ |
| 19 | 19 | protected function getUpdateOffsetRedis(string $offset_key) : int { |
| 20 | 20 | |
@@ -102,7 +102,7 @@ discard block |
||
| 102 | 102 | * \details Called by getUpdatesDatabase to get the offset saved in database or to get it from telegram and save it in database. |
| 103 | 103 | * @param $table_name Name of the table where offset is saved in the database |
| 104 | 104 | * @param $column_name Name of the column where the offset is saved in the database |
| 105 | - * @return Id of the first update to process. |
|
| 105 | + * @return integer of the first update to process. |
|
| 106 | 106 | */ |
| 107 | 107 | protected function getUpdateOffsetDatabase(string $table_name, string $column_name) : int { |
| 108 | 108 | |
@@ -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); |