| 1 | <?php |
||
| 12 | class User extends BaseUser implements GitUserInterface |
||
| 13 | { |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @var int |
||
| 17 | */ |
||
| 18 | private $googleId; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @var int |
||
| 22 | */ |
||
| 23 | private $githubId; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @var int |
||
| 27 | */ |
||
| 28 | private $facebookId; |
||
| 29 | |||
| 30 | public function __construct() |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @param int $githubId |
||
| 37 | */ |
||
| 38 | public function setGithubId($githubId) |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @return int |
||
| 45 | */ |
||
| 46 | public function getGithubId() |
||
| 50 | |||
| 51 | /** |
||
| 52 | * @param int $googleId |
||
| 53 | */ |
||
| 54 | public function setGoogleId($googleId) |
||
| 58 | |||
| 59 | /** |
||
| 60 | * @return int |
||
| 61 | */ |
||
| 62 | public function getGoogleId() |
||
| 66 | |||
| 67 | /** |
||
| 68 | * {@inheritdoc} |
||
| 69 | */ |
||
| 70 | public function getGitUserName() |
||
| 74 | |||
| 75 | /** |
||
| 76 | * {@inheritdoc} |
||
| 77 | */ |
||
| 78 | public function getGitUserEmail() |
||
| 82 | |||
| 83 | /** |
||
| 84 | * @return int |
||
| 85 | */ |
||
| 86 | public function getFacebookId() |
||
| 90 | |||
| 91 | /** |
||
| 92 | * @param int $facebookId |
||
| 93 | */ |
||
| 94 | public function setFacebookId($facebookId) |
||
| 98 | |||
| 99 | public function __toString() |
||
| 107 | } |
||
| 108 |
Short variable names may make your code harder to understand. Variable names should be self-descriptive. This check looks for variable names who are shorter than a configured minimum.