Commit 4df1b58d authored by MBoretto's avatar MBoretto

fix entities test

parent 1ca2887d
......@@ -30,7 +30,7 @@ class User extends Entity
$this->first_name = isset($data['first_name']) ? $data['first_name'] : null;
if (empty($this->first_name)) {
// throw new TelegramException('first_name is empty!');
throw new TelegramException('first_name is empty!');
}
$this->last_name = isset($data['last_name']) ? $data['last_name'] : null;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment