Răsfoiți Sursa

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

Alexandr Mazur 6 ani în urmă
părinte
comite
636ca43ddf
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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) {