From: Raphaƫl Gertz Date: Wed, 11 Dec 2019 04:25:08 +0000 (+0100) Subject: Cleanup useless __construct and getRoles methods X-Git-Tag: 0.1.1~39 X-Git-Url: https://git.rapsys.eu/airbundle/commitdiff_plain/b1dc2a8a8d0a41624a0c21ecaa4711279e6ffd54 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(); - } }