Minor Correction

This commit is contained in:
netkas 2024-10-06 18:50:26 -04:00
parent 220100c4b5
commit 5703ce9987
5 changed files with 163 additions and 163 deletions

View file

@ -1,18 +1,18 @@
<?php
namespace TgBotLib\Methods;
namespace TgBotLib\Methods;
use TgBotLib\Abstracts\Method;
use TgBotLib\Bot;
use TgBotLib\Enums\Methods;
use TgBotLib\Abstracts\Method;
use TgBotLib\Bot;
use TgBotLib\Enums\Methods;
class Close extends Method
{
/**
* @inheritDoc
*/
public static function execute(Bot $bot, array $parameters = []): bool
class Close extends Method
{
return (bool) self::executeCurl(self::buildPost($bot, Methods::CLOSE->value));
}
}
/**
* @inheritDoc
*/
public static function execute(Bot $bot, array $parameters = []): bool
{
return (bool) self::executeCurl(self::buildPost($bot, Methods::CLOSE->value));
}
}