Skip to content

Commit 4df1b58

Browse files
committed
fix entities test
1 parent 1ca2887 commit 4df1b58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Entities/User.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public function __construct(array $data)
3030

3131
$this->first_name = isset($data['first_name']) ? $data['first_name'] : null;
3232
if (empty($this->first_name)) {
33-
// throw new TelegramException('first_name is empty!');
33+
throw new TelegramException('first_name is empty!');
3434
}
3535

3636
$this->last_name = isset($data['last_name']) ? $data['last_name'] : null;

0 commit comments

Comments
 (0)