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