Minor change

This commit is contained in:
Netkas 2023-02-19 16:53:27 -05:00
parent 97667b7618
commit eacc106666

View file

@ -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']))
{ {