From: Raphaƫl Gertz Date: Wed, 11 Dec 2019 04:25:08 +0000 (+0100) Subject: Cleanup useless __construct and getRoles methods X-Git-Url: https://git.rapsys.eu/airbundle/commitdiff_plain/c8a1ebed8fa21a770268253771a1a689604fb37f?hp=0a1451a2d6fd431123e3deab886057a56dbdf1b4 Cleanup useless __construct and getRoles methods --- diff --git a/Entity/User.php b/Entity/User.php index bd9f802..d521bd4 100644 --- a/Entity/User.php +++ b/Entity/User.php @@ -24,13 +24,6 @@ class User extends BaseUser { */ private $applications; - /** - * Constructor - */ - public function __construct() { - parent::__construct(); - } - /** * Set phone * @@ -114,15 +107,4 @@ class User extends BaseUser { public function getApplications() { return $this->applications; } - - /** - * Get roles - * - * @return array - */ - public function getRoles() { - //Return roles array - //XXX: [ ROLE_USER, ROLE_XXX, ... ] - return parent::getRoles(); - } }