Minor change
This commit is contained in:
parent
97667b7618
commit
eacc106666
1 changed files with 2 additions and 2 deletions
|
@ -75,9 +75,9 @@
|
||||||
* Constructs object from an array representation
|
* Constructs object from an array representation
|
||||||
*
|
*
|
||||||
* @param array $data
|
* @param array $data
|
||||||
* @return BotCommandScope
|
* @return ObjectTypeInterface
|
||||||
*/
|
*/
|
||||||
public static function fromArray(array $data): self
|
public static function fromArray(array $data): ObjectTypeInterface
|
||||||
{
|
{
|
||||||
if(isset($data['type']))
|
if(isset($data['type']))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue