diff --git a/src/TgBotLib/Objects/ReactionCount.php b/src/TgBotLib/Objects/ReactionCount.php index d44c8f3..1d57fa0 100644 --- a/src/TgBotLib/Objects/ReactionCount.php +++ b/src/TgBotLib/Objects/ReactionCount.php @@ -44,7 +44,7 @@ /** * @inheritDoc */ - public static function fromArray(?array $data): ?ObjectTypeInterface + public static function fromArray(?array $data): ?ReactionCount { if($data === null) {