Skip to content
This repository was archived by the owner on Sep 2, 2025. It is now read-only.

Commit fe93f5c

Browse files
committed
More general check but no notice anymore
1 parent 3b7f27a commit fe93f5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Abstracts/TelegramMethods.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public static function bindToObject(TelegramRawData $data, LoggerInterface $logg
4646
*/
4747
public function performSpecialConditions(): TelegramMethods
4848
{
49-
if ($this->reply_markup !== null) {
49+
if (!empty($this->reply_markup)) {
5050
$this->reply_markup = json_encode($this->formatReplyMarkup($this->reply_markup));
5151
}
5252

0 commit comments

Comments
 (0)