mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-04 20:27:31 +02:00
Change curl_exec($ch) call to Curl\Util::execute($ch) call, according to pull request.
This commit is contained in:
@@ -80,7 +80,7 @@ class TelegramBotHandler extends AbstractProcessingHandler
|
||||
'chat_id' => $this->channel,
|
||||
]));
|
||||
|
||||
$result = curl_exec($ch);
|
||||
$result = Curl\Util::execute($ch);
|
||||
$result = json_decode($result, true);
|
||||
|
||||
if ($result['ok'] === false) {
|
||||
|
Reference in New Issue
Block a user