Total Complexity | 4 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | final class CheckRecipientRequest implements Arrayable |
||
11 | { |
||
12 | use DataAware; |
||
13 | |||
14 | 1 | public static function create(): self |
|
15 | { |
||
16 | 1 | return new self(); |
|
17 | } |
||
18 | |||
19 | 1 | public static function one(string $address, string $fullName, string $phone): self |
|
26 | } |
||
27 | |||
28 | 1 | public function addRecipient(string $address, string $fullName, string $phone): void |
|
34 | ]; |
||
35 | 1 | } |
|
36 | |||
37 | 1 | public function toArray(): array |
|
42 |