Updated ForumTopicReopened
This commit is contained in:
parent
8d074ef36a
commit
89e3f9c575
1 changed files with 7 additions and 5 deletions
|
@ -20,13 +20,15 @@
|
|||
}
|
||||
|
||||
/**
|
||||
* Constructs object from an array representation
|
||||
*
|
||||
* @param array $data
|
||||
* @return ForumTopicReopened
|
||||
* @inheritDoc
|
||||
*/
|
||||
public static function fromArray(array $data): self
|
||||
public static function fromArray(?array $data): ?ForumTopicReopened
|
||||
{
|
||||
if($data === null)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
return new self();
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue