@@ -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 |      { | 
                                                        
@@ -2,12 +2,12 @@  | 
                                                    ||
| 2 | 2 | |
| 3 | 3 | namespace Telegram\Bot\Laravel;  | 
                                                        
| 4 | 4 | |
| 5 | -use Telegram\Bot\Api;  | 
                                                        |
| 6 | -use Telegram\Bot\BotsManager;  | 
                                                        |
| 7 | -use Illuminate\Support\ServiceProvider;  | 
                                                        |
| 8 | 5 | use Illuminate\Contracts\Foundation\Application;  | 
                                                        
| 9 | -use Laravel\Lumen\Application as LumenApplication;  | 
                                                        |
| 10 | 6 | use Illuminate\Foundation\Application as LaravelApplication;  | 
                                                        
| 7 | +use Illuminate\Support\ServiceProvider;  | 
                                                        |
| 8 | +use Laravel\Lumen\Application as LumenApplication;  | 
                                                        |
| 9 | +use Telegram\Bot\Api;  | 
                                                        |
| 10 | +use Telegram\Bot\BotsManager;  | 
                                                        |
| 11 | 11 | |
| 12 | 12 | /**  | 
                                                        
| 13 | 13 | * Class TelegramServiceProvider.  | 
                                                        
@@ -611,7 +611,7 @@ discard block  | 
                                                    ||
| 611 | 611 | *  | 
                                                        
| 612 | 612 | * @throws TelegramSDKException  | 
                                                        
| 613 | 613 | *  | 
                                                        
| 614 | - * @return TelegramResponse  | 
                                                        |
| 614 | + * @return Message  | 
                                                        |
| 615 | 615 | */  | 
                                                        
| 616 | 616 | public function setWebhook(array $params)  | 
                                                        
| 617 | 617 |      { | 
                                                        
@@ -838,7 +838,7 @@ discard block  | 
                                                    ||
| 838 | 838 | /**  | 
                                                        
| 839 | 839 | * Detect Message Type Based on Update or Message Object.  | 
                                                        
| 840 | 840 | *  | 
                                                        
| 841 | - * @param Update|Message $object  | 
                                                        |
| 841 | + * @param Message $object  | 
                                                        |
| 842 | 842 | *  | 
                                                        
| 843 | 843 | * @return string|null  | 
                                                        
| 844 | 844 | */  | 
                                                        
@@ -903,7 +903,7 @@ discard block  | 
                                                    ||
| 903 | 903 | * Used primarily for file uploads.  | 
                                                        
| 904 | 904 | *  | 
                                                        
| 905 | 905 | * @param string $endpoint  | 
                                                        
| 906 | - * @param array $params  | 
                                                        |
| 906 | + * @param string $params  | 
                                                        |
| 907 | 907 | *  | 
                                                        
| 908 | 908 | * @throws TelegramSDKException  | 
                                                        
| 909 | 909 | *  | 
                                                        
@@ -1105,7 +1105,7 @@ discard block  | 
                                                    ||
| 1105 | 1105 | * @var bool|null $params ['is_personal']  | 
                                                        
| 1106 | 1106 | * @var string|null $params ['next_offset']  | 
                                                        
| 1107 | 1107 | *  | 
                                                        
| 1108 | - * @return bool  | 
                                                        |
| 1108 | + * @return TelegramResponse  | 
                                                        |
| 1109 | 1109 | */  | 
                                                        
| 1110 | 1110 | public function answerInlineQuery(array $params = [])  | 
                                                        
| 1111 | 1111 |      { |