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\Abstracts;
|
||||
|
||||
use TgBotLib\Bot;
|
||||
use TgBotLib\Enums\UpdateEventType;
|
||||
use TgBotLib\Enums\EventType;
|
||||
use TgBotLib\Objects\Update;
|
||||
|
||||
abstract class UpdateEvent
|
||||
|
@ -23,11 +23,11 @@
|
|||
|
||||
/**
|
||||
* Retrieves the event type.
|
||||
* @return UpdateEventType The event type of the current instance.
|
||||
* @return EventType The event type of the current instance.
|
||||
*/
|
||||
public static function getEventType(): UpdateEventType
|
||||
public static function getEventType(): EventType
|
||||
{
|
||||
return UpdateEventType::UPDATE_EVENT;
|
||||
return EventType::UPDATE_EVENT;
|
||||
}
|
||||
|
||||
public abstract function handle(Bot $bot): void;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue