Updated CallbackGame
This commit is contained in:
parent
d2f283afdd
commit
f6df3bf9da
1 changed files with 3 additions and 8 deletions
|
@ -9,9 +9,7 @@
|
||||||
// Note: A placeholder, currently holds no information. Use BotFather to set up your game.
|
// Note: A placeholder, currently holds no information. Use BotFather to set up your game.
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns an array representation of the object.
|
* @inheritDoc
|
||||||
*
|
|
||||||
* @return array
|
|
||||||
*/
|
*/
|
||||||
public function toArray(): array
|
public function toArray(): array
|
||||||
{
|
{
|
||||||
|
@ -19,12 +17,9 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructs an object from an array representation.
|
* @inheritDoc
|
||||||
*
|
|
||||||
* @param array $data
|
|
||||||
* @return CallbackGame
|
|
||||||
*/
|
*/
|
||||||
public static function fromArray(array $data): self
|
public static function fromArray(?array $data): ?CallbackGame
|
||||||
{
|
{
|
||||||
return new self();
|
return new self();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue