| Total Complexity | 3 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 19 | abstract class Credential |
||
| 20 | { |
||
| 21 | private $id; |
||
| 22 | |||
| 23 | private $type; |
||
| 24 | |||
| 25 | public function __construct(string $id, string $type) |
||
| 26 | { |
||
| 27 | $this->id = $id; |
||
| 28 | $this->type = $type; |
||
| 29 | } |
||
| 30 | |||
| 31 | public function getId(): string |
||
| 32 | { |
||
| 33 | return $this->id; |
||
| 34 | } |
||
| 35 | |||
| 36 | public function getType(): string |
||
| 39 | } |
||
| 40 | } |
||
| 41 |