DRY things up a bit

This commit is contained in:
James LaChance
2016-09-17 23:51:58 -04:00
parent 8f54955452
commit 5189a7342c

View File

@@ -33,9 +33,9 @@ class User
*/
public function __construct($id = null, $username = null, $email = null)
{
$this->userId = $id;
$this->username = $username;
$this->email = $email;
$this->setUserID($id);
$this->setUsername($username);
$this->setEmail($email);
}
/**