ソースを参照

Change curl_exec($ch) call to Curl\Util::execute($ch) call, according to pull request.

Alexandr Mazur 6 年 前
コミット
636ca43ddf
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/Monolog/Handler/TelegramBotHandler.php

+ 1 - 1
src/Monolog/Handler/TelegramBotHandler.php

@@ -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) {