From b1dc2a8a8d0a41624a0c21ecaa4711279e6ffd54 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Wed, 11 Dec 2019 05:25:08 +0100 Subject: [PATCH] Cleanup useless __construct and getRoles methods --- Entity/User.php | 18 ------------------ 1 file changed, 18 deletions(-) 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(); - } } -- 2.41.1