Completed
Push — master ( b6dd76...f72f42 )
by Roma
02:47
created
src/TelegramBotAPI/TelegramBotAPI.php 2 patches
Doc Comments   +11 added lines, -8 removed lines patch added patch discarded remove patch
@@ -150,6 +150,9 @@  discard block
 block discarded – undo
150 150
         return $data['result'];
151 151
     }
152 152
 
153
+    /**
154
+     * @param string $url
155
+     */
153 156
     private function send($method, $url, $payload) {
154 157
 
155 158
         if ($method === TBAPrivateConst::POST) {
@@ -1079,7 +1082,7 @@  discard block
 block discarded – undo
1079 1082
      * @api
1080 1083
      * @link https://core.telegram.org/bots/api#getchatmemberscount
1081 1084
      * @param array $parameters
1082
-     * @return int
1085
+     * @return string
1083 1086
      *
1084 1087
      * @throws TelegramBotAPIException
1085 1088
      * @throws TelegramBotAPIRuntimeException
@@ -1139,7 +1142,7 @@  discard block
 block discarded – undo
1139 1142
      * @api
1140 1143
      * @link https://core.telegram.org/bots/api#answercallbackquery
1141 1144
      * @param array $parameters
1142
-     * @return bool
1145
+     * @return string
1143 1146
      *
1144 1147
      * @throws TelegramBotAPIException
1145 1148
      * @throws TelegramBotAPIRuntimeException
@@ -1360,7 +1363,7 @@  discard block
 block discarded – undo
1360 1363
      * @api
1361 1364
      * @link https://core.telegram.org/bots/api#deleteMessage
1362 1365
      * @param array $parameters
1363
-     * @return bool
1366
+     * @return string
1364 1367
      *
1365 1368
      * @throws TelegramBotAPIException
1366 1369
      * @throws TelegramBotAPIRuntimeException
@@ -1393,7 +1396,7 @@  discard block
 block discarded – undo
1393 1396
      * @api
1394 1397
      * @link https://core.telegram.org/bots/api#answerinlinequery
1395 1398
      * @param array $parameters
1396
-     * @return bool
1399
+     * @return string
1397 1400
      *
1398 1401
      * @throws TelegramBotAPIException
1399 1402
      * @throws TelegramBotAPIRuntimeException
@@ -1458,7 +1461,7 @@  discard block
 block discarded – undo
1458 1461
      * @api
1459 1462
      * @link https://core.telegram.org/bots/api#answershippingquery
1460 1463
      * @param array $parameters
1461
-     * @return bool
1464
+     * @return string
1462 1465
      *
1463 1466
      * @throws TelegramBotAPIException
1464 1467
      * @throws TelegramBotAPIRuntimeException
@@ -1498,7 +1501,7 @@  discard block
 block discarded – undo
1498 1501
      * @api
1499 1502
      * @link https://core.telegram.org/bots/api#answerprecheckoutquery
1500 1503
      * @param array $parameters
1501
-     * @return bool
1504
+     * @return string
1502 1505
      *
1503 1506
      * @throws TelegramBotAPIException
1504 1507
      * @throws TelegramBotAPIRuntimeException
@@ -2021,7 +2024,7 @@  discard block
 block discarded – undo
2021 2024
      * @api
2022 2025
      * @link https://core.telegram.org/bots/api#getstickerset
2023 2026
      * @param array $parameters
2024
-     * @return string
2027
+     * @return StickerSet
2025 2028
      *
2026 2029
      * @throws TelegramBotAPIException
2027 2030
      * @throws TelegramBotAPIRuntimeException
@@ -2049,7 +2052,7 @@  discard block
 block discarded – undo
2049 2052
      * @pai
2050 2053
      * @link https://core.telegram.org/bots/api#promotechatmember
2051 2054
      * @param array $parameters
2052
-     * @return string
2055
+     * @return File
2053 2056
      *
2054 2057
      * @throws TelegramBotAPIException
2055 2058
      * @throws TelegramBotAPIRuntimeException
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -9,12 +9,10 @@
 block discarded – undo
9 9
 use TelegramBotAPI\Types\File;
10 10
 use TelegramBotAPI\Types\Update;
11 11
 use TelegramBotAPI\Types\Message;
12
-use TelegramBotAPI\Types\InputFile;
13 12
 use TelegramBotAPI\Types\StickerSet;
14 13
 use TelegramBotAPI\Types\ForceReply;
15 14
 use TelegramBotAPI\Types\ChatMember;
16 15
 use TelegramBotAPI\Types\WebhookInfo;
17
-use TelegramBotAPI\Types\LabeledPrice;
18 16
 use TelegramBotAPI\Types\GameHighScore;
19 17
 use TelegramBotAPI\Types\UserProfilePhotos;
20 18
 use TelegramBotAPI\Types\ReplyKeyboardRemove;
Please login to merge, or discard this patch.