Update interface method signatures to use BotOld
This commit is contained in:
parent
1231e7d387
commit
17e31c9bce
2 changed files with 6 additions and 6 deletions
|
@ -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;
|
||||
}
|
|
@ -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;
|
||||
}
|
Loading…
Add table
Reference in a new issue