@@ -50,7 +50,7 @@ |
||
| 50 | 50 | |
| 51 | 51 | /** |
| 52 | 52 | * @author MY |
| 53 | - * @return true |
|
| 53 | + * @return boolean |
|
| 54 | 54 | */ |
| 55 | 55 | public function getOk() |
| 56 | 56 | { |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace TelegramBot\Api\Types\Payments\Query; |
| 4 | 4 | |
| 5 | 5 | use TelegramBot\Api\BaseType; |
| 6 | -use TelegramBot\Api\Types\Payments\ArrayOfLabeledPrice; |
|
| 7 | 6 | |
| 8 | 7 | /** |
| 9 | 8 | * Class AnswerPreCheckoutQuery |
@@ -178,6 +178,9 @@ |
||
| 178 | 178 | }; |
| 179 | 179 | } |
| 180 | 180 | |
| 181 | + /** |
|
| 182 | + * @param string $method |
|
| 183 | + */ |
|
| 181 | 184 | protected static function getCustomEvent(Closure $action, $method) |
| 182 | 185 | { |
| 183 | 186 | return function (Update $update) use ($action, $method) { |