Explorar el Código

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

Alexandr Mazur hace 6 años
padre
commit
636ca43ddf
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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) {