From e8221c11ec852820dbff7a554ba4cee97f8657ac Mon Sep 17 00:00:00 2001 From: netkas Date: Fri, 4 Oct 2024 00:19:53 -0400 Subject: [PATCH] Updated ObjectTypeInterface --- src/TgBotLib/Interfaces/ObjectTypeInterface.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TgBotLib/Interfaces/ObjectTypeInterface.php b/src/TgBotLib/Interfaces/ObjectTypeInterface.php index 221204d..f64ec4b 100644 --- a/src/TgBotLib/Interfaces/ObjectTypeInterface.php +++ b/src/TgBotLib/Interfaces/ObjectTypeInterface.php @@ -9,7 +9,7 @@ * * @return array */ - public function toArray(): array; + public function toArray(): ?array; /** * Reconstruction of the object from an array