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