diff --git a/src/danog/MadelineProto/TL/Types/Button.php b/src/danog/MadelineProto/TL/Types/Button.php index ba8fcf631..3f6dfe04d 100644 --- a/src/danog/MadelineProto/TL/Types/Button.php +++ b/src/danog/MadelineProto/TL/Types/Button.php @@ -33,11 +33,11 @@ class Button implements \JsonSerializable, \ArrayAccess * * @psalm-var non-empty-array */ - private array $button; + private array $button = []; /** * Session name. */ - private string $session; + private string $session = ''; /** * MTProto instance. *