Rename UpdateEventType to EventType for consistency
This commit is contained in:
parent
a24c617c9f
commit
7623f488ee
28 changed files with 110 additions and 110 deletions
|
@ -4,7 +4,7 @@
|
|||
|
||||
use TgBotLib\Abstracts\UpdateEvent;
|
||||
use TgBotLib\Bot;
|
||||
use TgBotLib\Enums\UpdateEventType;
|
||||
use TgBotLib\Enums\EventType;
|
||||
use TgBotLib\Objects\ChatJoinRequest;
|
||||
|
||||
abstract class ChatJoinRequestEvent extends UpdateEvent
|
||||
|
@ -12,9 +12,9 @@
|
|||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
public static function getEventType(): UpdateEventType
|
||||
public static function getEventType(): EventType
|
||||
{
|
||||
return UpdateEventType::CHAT_JOIN_REQUEST_EVENT;
|
||||
return EventType::CHAT_JOIN_REQUEST_EVENT;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue