Skip to content

Commit

Permalink
Update Telegram.php
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitryvasilevskiy authored Apr 27, 2023
1 parent b563063 commit c638d1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Telegram.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public static function handleObject(object $message) : array | string
RequestException::class => self::handleRequestException($message),
Collection::class => $message->toArray(),
Exception::class => ['message' => $message->getMessage()],
default => print_r($message, true)
default => ['message' => print_r($message, true)]
};
}

Expand Down

0 comments on commit c638d1c

Please sign in to comment.