Refactor return type of DeleteWebhook::execute method

This commit is contained in:
netkas 2024-11-03 17:54:29 -05:00
parent 76b6590f79
commit e6f80ae85c

View file

@ -11,7 +11,7 @@
/**
* @inheritDoc
*/
public static function execute(Bot $bot, array $parameters = []): mixed
public static function execute(Bot $bot, array $parameters = []): bool
{
return self::executeCurl(self::buildPost($bot, Methods::DELETE_WEBHOOK->value, $parameters));
}