From 17e31c9bce1a318dbc14bb1206063f59e59656cd Mon Sep 17 00:00:00 2001 From: netkas Date: Mon, 30 Sep 2024 02:35:17 -0400 Subject: [PATCH] Update interface method signatures to use BotOld --- src/TgBotLib/Interfaces/CommandInterface.php | 6 +++--- src/TgBotLib/Interfaces/EventInterface.php | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) 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