Updated InlineKeyboardMarkup
This commit is contained in:
parent
d56654a512
commit
35c9710d3f
1 changed files with 3 additions and 8 deletions
|
@ -10,7 +10,7 @@
|
||||||
/**
|
/**
|
||||||
* @var InlineKeyboardButton[][]
|
* @var InlineKeyboardButton[][]
|
||||||
*/
|
*/
|
||||||
private $inline_keyboard;
|
private array $inline_keyboard;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Array of button rows, each represented by an Array of InlineKeyboardButton objects
|
* Array of button rows, each represented by an Array of InlineKeyboardButton objects
|
||||||
|
@ -48,9 +48,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns an array representation of the object
|
* @inheritDoc
|
||||||
*
|
|
||||||
* @return array[][]
|
|
||||||
*/
|
*/
|
||||||
public function toArray(): array
|
public function toArray(): array
|
||||||
{
|
{
|
||||||
|
@ -69,10 +67,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructs the object from an array representation
|
* @inheritDoc
|
||||||
*
|
|
||||||
* @param array|null $data
|
|
||||||
* @return InlineKeyboardMarkup|null
|
|
||||||
*/
|
*/
|
||||||
public static function fromArray(?array $data): ?InlineKeyboardMarkup
|
public static function fromArray(?array $data): ?InlineKeyboardMarkup
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue