We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ca2887 commit 4df1b58Copy full SHA for 4df1b58
src/Entities/User.php
@@ -30,7 +30,7 @@ public function __construct(array $data)
30
31
$this->first_name = isset($data['first_name']) ? $data['first_name'] : null;
32
if (empty($this->first_name)) {
33
-// throw new TelegramException('first_name is empty!');
+ throw new TelegramException('first_name is empty!');
34
}
35
36
$this->last_name = isset($data['last_name']) ? $data['last_name'] : null;
0 commit comments