| Total Complexity | 2 |
| Total Lines | 19 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | class User extends Contact |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var string |
||
| 11 | */ |
||
| 12 | private $email; |
||
| 13 | |||
| 14 | public function __construct(string $name, string $email) |
||
| 15 | { |
||
| 16 | parent::__construct($name); |
||
| 17 | $this->email = $email; |
||
| 18 | } |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @return string |
||
| 22 | */ |
||
| 23 | public function getEmail(): string |
||
| 26 | } |
||
| 27 | } |
||
| 28 |