Completed
Push — master ( 11cb26...71f979 )
by Kirill
03:07 queued 45s
created
src/Chrl/AppBundle/Controller/TelegramController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,9 +38,9 @@
 block discarded – undo
38 38
         if (empty($config['webhook']['domain'])) {
39 39
             throw new Exception("buktopuha.webhook.domain' is not set in config.yml", 0);
40 40
         }
41
-        $url = "https://" . $config['webhook']['domain'] . $config['webhook']['path_prefix'] . "/telegram-bot/update";
41
+        $url = "https://".$config['webhook']['domain'].$config['webhook']['path_prefix']."/telegram-bot/update";
42 42
         if (null !== $secret) {
43
-            $url .= "/" . $secret;
43
+            $url .= "/".$secret;
44 44
         }
45 45
         $res = $api->setwebhook($url);
46 46
         return new JsonResponse([
Please login to merge, or discard this patch.