Major Refactoring
This commit is contained in:
parent
3de87df2d9
commit
54a8a59ee8
83 changed files with 892 additions and 918 deletions
|
@ -46,7 +46,7 @@
|
|||
{
|
||||
$object = new self();
|
||||
|
||||
$object->type = $data['type'];
|
||||
$object->type = $data['type'] ?? null;
|
||||
|
||||
return $object;
|
||||
}
|
||||
|
@ -60,7 +60,9 @@
|
|||
public static function fromMenuButton(MenuButton $menuButton): MenuButtonCommands
|
||||
{
|
||||
$object = new self();
|
||||
|
||||
$object->type = $menuButton->getType();
|
||||
|
||||
return $object;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue