Total Complexity | 3 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
5 | class BillRequisite |
||
6 | { |
||
7 | /** @var int|string|null */ |
||
8 | protected $id; |
||
9 | |||
10 | protected ?string $name = null; |
||
11 | |||
12 | public function __construct($id = null, string $name = null) |
||
16 | } |
||
17 | |||
18 | public function getId() |
||
19 | { |
||
20 | return $this->id; |
||
21 | } |
||
22 | |||
23 | public function getName(): ?string |
||
26 | } |
||
27 | } |
||
28 |