@@ -101,7 +101,7 @@ |
||
| 101 | 101 | /** |
| 102 | 102 | * Get the services provided by the provider. |
| 103 | 103 | * |
| 104 | - * @return array |
|
| 104 | + * @return string[] |
|
| 105 | 105 | */ |
| 106 | 106 | public function provides() |
| 107 | 107 | { |
@@ -157,7 +157,7 @@ discard block |
||
| 157 | 157 | * |
| 158 | 158 | * @param $line |
| 159 | 159 | * @param $replace |
| 160 | - * @param $delimiter |
|
| 160 | + * @param string $delimiter |
|
| 161 | 161 | * |
| 162 | 162 | * @return mixed |
| 163 | 163 | */ |
@@ -175,7 +175,7 @@ discard block |
||
| 175 | 175 | * |
| 176 | 176 | * @param $line |
| 177 | 177 | * @param $replace |
| 178 | - * @param $delimiter |
|
| 178 | + * @param string $delimiter |
|
| 179 | 179 | * |
| 180 | 180 | * @return mixed |
| 181 | 181 | */ |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | private $eventEmitter; |
| 14 | 14 | |
| 15 | 15 | /** |
| 16 | - * @param EventInterface|string $event |
|
| 16 | + * @param UpdateWasReceived $event |
|
| 17 | 17 | * @throws \InvalidArgumentException |
| 18 | 18 | * @return bool true if emitted, false otherwise |
| 19 | 19 | */ |
@@ -1234,7 +1234,7 @@ discard block |
||
| 1234 | 1234 | * @var bool $params ['one_time_keyboard'] |
| 1235 | 1235 | * @var bool $params ['selective'] |
| 1236 | 1236 | * |
| 1237 | - * @return string |
|
| 1237 | + * @return Keyboard |
|
| 1238 | 1238 | */ |
| 1239 | 1239 | public function replyKeyboardMarkup(array $params) |
| 1240 | 1240 | { |
@@ -1261,7 +1261,7 @@ discard block |
||
| 1261 | 1261 | * @var bool $params ['hide_keyboard'] |
| 1262 | 1262 | * @var bool $params ['selective'] |
| 1263 | 1263 | * |
| 1264 | - * @return string |
|
| 1264 | + * @return Keyboard |
|
| 1265 | 1265 | */ |
| 1266 | 1266 | public static function replyKeyboardHide(array $params = []) |
| 1267 | 1267 | { |
@@ -1288,7 +1288,7 @@ discard block |
||
| 1288 | 1288 | * @var bool $params ['force_reply'] |
| 1289 | 1289 | * @var bool $params ['selective'] |
| 1290 | 1290 | * |
| 1291 | - * @return string |
|
| 1291 | + * @return Keyboard |
|
| 1292 | 1292 | */ |
| 1293 | 1293 | public static function forceReply(array $params = []) |
| 1294 | 1294 | { |
@@ -1368,7 +1368,7 @@ discard block |
||
| 1368 | 1368 | * |
| 1369 | 1369 | * @throws \InvalidArgumentException |
| 1370 | 1370 | * |
| 1371 | - * @return bool |
|
| 1371 | + * @return null|boolean |
|
| 1372 | 1372 | */ |
| 1373 | 1373 | public function isMessageType($type, $object) |
| 1374 | 1374 | { |
@@ -1473,7 +1473,7 @@ discard block |
||
| 1473 | 1473 | * Used primarily for file uploads. |
| 1474 | 1474 | * |
| 1475 | 1475 | * @param string $endpoint |
| 1476 | - * @param array $params |
|
| 1476 | + * @param string $params |
|
| 1477 | 1477 | * |
| 1478 | 1478 | * @throws TelegramSDKException |
| 1479 | 1479 | * |