Refactor return type of DeleteWebhook::execute method
This commit is contained in:
parent
76b6590f79
commit
e6f80ae85c
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@
|
||||||
/**
|
/**
|
||||||
* @inheritDoc
|
* @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));
|
return self::executeCurl(self::buildPost($bot, Methods::DELETE_WEBHOOK->value, $parameters));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue