From e6f80ae85cfb1ef6bb73b8e686b55ba1d236534c Mon Sep 17 00:00:00 2001 From: netkas Date: Sun, 3 Nov 2024 17:54:29 -0500 Subject: [PATCH] Refactor return type of DeleteWebhook::execute method --- src/TgBotLib/Methods/DeleteWebhook.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TgBotLib/Methods/DeleteWebhook.php b/src/TgBotLib/Methods/DeleteWebhook.php index affce6c..22ac0c6 100644 --- a/src/TgBotLib/Methods/DeleteWebhook.php +++ b/src/TgBotLib/Methods/DeleteWebhook.php @@ -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)); }