Add PHPDoc annotation for the execute method in Logout
This commit is contained in:
parent
3b0d131582
commit
bdcce70ce4
1 changed files with 3 additions and 0 deletions
|
@ -8,6 +8,9 @@
|
||||||
|
|
||||||
class Logout extends Method
|
class Logout extends Method
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* @inheritDoc
|
||||||
|
*/
|
||||||
public static function execute(Bot $bot, array $parameters=[]): bool
|
public static function execute(Bot $bot, array $parameters=[]): bool
|
||||||
{
|
{
|
||||||
return (bool) self::executeCurl(self::buildPost($bot, Methods::LOGOUT->value));
|
return (bool) self::executeCurl(self::buildPost($bot, Methods::LOGOUT->value));
|
||||||
|
|
Loading…
Add table
Reference in a new issue