From eacc106666e3f8309f01a6147723096840c19bb2 Mon Sep 17 00:00:00 2001 From: Netkas Date: Sun, 19 Feb 2023 16:53:27 -0500 Subject: [PATCH] Minor change --- src/TgBotLib/Objects/Telegram/BotCommandScope.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/TgBotLib/Objects/Telegram/BotCommandScope.php b/src/TgBotLib/Objects/Telegram/BotCommandScope.php index 62ef6b0..ba785d0 100644 --- a/src/TgBotLib/Objects/Telegram/BotCommandScope.php +++ b/src/TgBotLib/Objects/Telegram/BotCommandScope.php @@ -75,9 +75,9 @@ * Constructs object from an array representation * * @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'])) {