File tree Expand file tree Collapse file tree 2 files changed +3
-10
lines changed
Expand file tree Collapse file tree 2 files changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -161,9 +161,9 @@ Here is a list of available extra parameters:
161161| * string* | * e.g.* ` 'https://example.com/manager.php' ` |
162162| certificate | Path to a self-signed certificate (if necessary). |
163163| * string* | * e.g.* ` __DIR__ . '/server.crt' ` |
164- | max_connections | Maximum allowed simultaneous HTTPS connections to the webhook |
164+ | max_connections | Maximum allowed simultaneous HTTPS connections to the webhook. |
165165| * int* | * e.g.* ` 20 ` |
166- | allowed_updates | List the types of updates you want your bot to receive |
166+ | allowed_updates | List the types of updates you want your bot to receive. |
167167| * array* | * e.g.* ` ['message', 'edited_channel_post', 'callback_query'] ` |
168168| logging | Path(s) where to the log files should be put. This is an array that can contain all 3 log file paths (` error ` , ` debug ` and ` update ` ). |
169169| * array* | * e.g.* ` ['error' => __DIR__ . '/php-telegram-bot-error.log'] ` |
Original file line number Diff line number Diff line change 1717use NPM \TelegramBotManager \Exception \InvalidAccessException ;
1818use NPM \TelegramBotManager \Exception \InvalidWebhookException ;
1919
20- /**
21- * Class BotManager.php
22- *
23- * Leave all member variables public to allow easy modification.
24- *
25- * @package NPM\TelegramBotManager
26- */
2720class BotManager
2821{
2922 /**
@@ -233,7 +226,7 @@ public function validateAndSetWebhook(): self
233226 *
234227 * @return \NPM\TelegramBotManager\BotManager
235228 */
236- private function handleOutput ($ output ): self
229+ private function handleOutput (string $ output ): self
237230 {
238231 $ this ->output .= $ output ;
239232
You can’t perform that action at this time.
0 commit comments