Procházet zdrojové kódy

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

Alexandr Mazur před 6 roky
rodič
revize
636ca43ddf
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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,
             'chat_id' => $this->channel,
         ]));
         ]));
 
 
-        $result = curl_exec($ch);
+        $result = Curl\Util::execute($ch);
         $result = json_decode($result, true);
         $result = json_decode($result, true);
 
 
         if ($result['ok'] === false) {
         if ($result['ok'] === false) {