diff --git a/src/TgBotLib/Interfaces/CommandInterface.php b/src/TgBotLib/Interfaces/CommandInterface.php index 93f3328..7fb8207 100644 --- a/src/TgBotLib/Interfaces/CommandInterface.php +++ b/src/TgBotLib/Interfaces/CommandInterface.php @@ -2,7 +2,7 @@ namespace TgBotLib\Interfaces; - use TgBotLib\Bot; + use TgBotLib\BotOld; use TgBotLib\Objects\Telegram\Update; interface CommandInterface @@ -10,9 +10,9 @@ /** * Execute the command * - * @param Bot $bot + * @param BotOld $bot * @param Update $update * @return void */ - public function handle(Bot $bot, Update $update): void; + public function handle(BotOld $bot, Update $update): void; } \ No newline at end of file diff --git a/src/TgBotLib/Interfaces/EventInterface.php b/src/TgBotLib/Interfaces/EventInterface.php index 3dad5e9..796df19 100644 --- a/src/TgBotLib/Interfaces/EventInterface.php +++ b/src/TgBotLib/Interfaces/EventInterface.php @@ -2,7 +2,7 @@ namespace TgBotLib\Interfaces; - use TgBotLib\Bot; + use TgBotLib\BotOld; use TgBotLib\Objects\Telegram\Update; interface EventInterface @@ -10,9 +10,9 @@ /** * Execute the command * - * @param Bot $bot + * @param BotOld $bot * @param Update $update * @return void */ - public function handle(Bot $bot, Update $update): void; + public function handle(BotOld $bot, Update $update): void; } \ No newline at end of file