1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-18 15:18:08 +02:00

add some @throws in constructors (#1779)

This commit is contained in:
Thomas Müller
2023-02-04 16:26:41 +01:00
committed by GitHub
parent c424dbc6a5
commit 616c675160
20 changed files with 38 additions and 3 deletions

View File

@@ -93,7 +93,7 @@ class TelegramBotHandler extends AbstractProcessingHandler
* @param string $channel Telegram channel name
* @param bool $splitLongMessages Split a message longer than MAX_MESSAGE_LENGTH into parts and send in multiple messages
* @param bool $delayBetweenMessages Adds delay between sending a split message according to Telegram API
* @throws MissingExtensionException
* @throws MissingExtensionException If the curl extension is missing
*/
public function __construct(
string $apiKey,