Rapsys Git
/
airbundle
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a1451a
)
Cleanup useless __construct and getRoles methods
author
Raphaël Gertz
<git@rapsys.eu>
Wed, 11 Dec 2019 04:25:08 +0000
(
05:25
+0100)
committer
Raphaël Gertz
<git@rapsys.eu>
Wed, 11 Dec 2019 04:25:08 +0000
(
05:25
+0100)
Entity/User.php
patch
|
blob
|
history
diff --git
a/Entity/User.php
b/Entity/User.php
index bd9f802333f9fb11db38c0598e38f51da4371d07..d521bd46e3d2e04f9e0ce2a098064490298d0eb7 100644
(file)
--- 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();
- }
}