@@ -155,6 +155,7 @@ |
||
| 155 | 155 | |
| 156 | 156 | /** |
| 157 | 157 | * {@inheritdoc} |
| 158 | + * @param string $arguments |
|
| 158 | 159 | */ |
| 159 | 160 | abstract public function handle($arguments); |
| 160 | 161 | } |
@@ -23,7 +23,6 @@ |
||
| 23 | 23 | * UpdateWasReceived constructor. |
| 24 | 24 | * |
| 25 | 25 | * @param Update $update |
| 26 | - * @param Api $telegram |
|
| 27 | 26 | */ |
| 28 | 27 | public function __construct(Update $update, Bot $bot) |
| 29 | 28 | { |
@@ -3,8 +3,8 @@ |
||
| 3 | 3 | namespace Telegram\Bot\Answers; |
| 4 | 4 | |
| 5 | 5 | use Telegram\Bot\Api; |
| 6 | -use Telegram\Bot\Objects\Update; |
|
| 7 | 6 | use Telegram\Bot\Bots\Bot; |
| 7 | +use Telegram\Bot\Objects\Update; |
|
| 8 | 8 | |
| 9 | 9 | /** |
| 10 | 10 | * Class Answer |
@@ -53,7 +53,7 @@ |
||
| 53 | 53 | /** |
| 54 | 54 | * Use PHP Reflection and Laravel Container to instantiate the answer with type hinted dependencies. |
| 55 | 55 | * |
| 56 | - * @param $answerClass |
|
| 56 | + * @param string $answerClass |
|
| 57 | 57 | * |
| 58 | 58 | * @return object |
| 59 | 59 | */ |
@@ -2,8 +2,8 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Telegram\Bot\Answers; |
| 4 | 4 | |
| 5 | -use Telegram\Bot\Bots\Bot; |
|
| 6 | 5 | use Telegram\Bot\Api; |
| 6 | +use Telegram\Bot\Bots\Bot; |
|
| 7 | 7 | |
| 8 | 8 | /** |
| 9 | 9 | * Class AnswerBus |
@@ -2,12 +2,12 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Telegram\Bot\Laravel; |
| 4 | 4 | |
| 5 | -use Telegram\Bot\Bots\Bot; |
|
| 6 | -use Telegram\Bot\Bots\BotsManager; |
|
| 7 | -use Illuminate\Support\ServiceProvider; |
|
| 8 | 5 | use Illuminate\Contracts\Container\Container as 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\Bots\Bot; |
|
| 10 | +use Telegram\Bot\Bots\BotsManager; |
|
| 11 | 11 | |
| 12 | 12 | /** |
| 13 | 13 | * Class TelegramServiceProvider. |