Update interface method signatures to use BotOld

This commit is contained in:
netkas 2024-09-30 02:35:17 -04:00
parent 1231e7d387
commit 17e31c9bce
2 changed files with 6 additions and 6 deletions

View file

@ -2,7 +2,7 @@
namespace TgBotLib\Interfaces; namespace TgBotLib\Interfaces;
use TgBotLib\Bot; use TgBotLib\BotOld;
use TgBotLib\Objects\Telegram\Update; use TgBotLib\Objects\Telegram\Update;
interface CommandInterface interface CommandInterface
@ -10,9 +10,9 @@
/** /**
* Execute the command * Execute the command
* *
* @param Bot $bot * @param BotOld $bot
* @param Update $update * @param Update $update
* @return void * @return void
*/ */
public function handle(Bot $bot, Update $update): void; public function handle(BotOld $bot, Update $update): void;
} }

View file

@ -2,7 +2,7 @@
namespace TgBotLib\Interfaces; namespace TgBotLib\Interfaces;
use TgBotLib\Bot; use TgBotLib\BotOld;
use TgBotLib\Objects\Telegram\Update; use TgBotLib\Objects\Telegram\Update;
interface EventInterface interface EventInterface
@ -10,9 +10,9 @@
/** /**
* Execute the command * Execute the command
* *
* @param Bot $bot * @param BotOld $bot
* @param Update $update * @param Update $update
* @return void * @return void
*/ */
public function handle(Bot $bot, Update $update): void; public function handle(BotOld $bot, Update $update): void;
} }