Total Complexity | 5 |
Total Lines | 53 |
Duplicated Lines | 0 % |
Coverage | 86.67% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | class UpdatePlanRequest |
||
9 | { |
||
10 | use HasDescription; |
||
11 | use HasPaymentPreferences; |
||
12 | |||
13 | protected string $id; |
||
14 | |||
15 | 1 | public function __construct(string $id) |
|
16 | { |
||
17 | 1 | $this->id = $id; |
|
18 | 1 | } |
|
19 | |||
20 | 1 | public function getId(): string |
|
21 | { |
||
22 | 1 | return $this->id; |
|
23 | } |
||
24 | |||
25 | 1 | public function toArray(): array |
|
61 | } |
||
62 | } |
||
63 |