diff --git a/src/TgBotLib/Objects/MessageReactionCountUpdated.php b/src/TgBotLib/Objects/MessageReactionCountUpdated.php index 9705c57..f7eea60 100644 --- a/src/TgBotLib/Objects/MessageReactionCountUpdated.php +++ b/src/TgBotLib/Objects/MessageReactionCountUpdated.php @@ -70,7 +70,7 @@ /** * @inheritDoc */ - public static function fromArray(?array $data): ?ObjectTypeInterface + public static function fromArray(?array $data): ?MessageReactionCountUpdated { if($data === null) {