| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php namespace nyx\auth\id\identities; |
||
| 25 | public function __construct(oauth2\Token $token, array $data) |
||
| 26 | { |
||
| 27 | parent::__construct($token, $data); |
||
| 28 | |||
| 29 | $this->username = $data['login'] ?? null; |
||
| 30 | $this->name = $data['name'] ?? null; |
||
| 31 | $this->email = $data['email'] ?? null; |
||
| 32 | $this->avatar = $data['avatar_url'] ?? null; |
||
| 33 | } |
||
| 34 | } |
||
| 35 |