Conditions | 2 |
Paths | 2 |
Total Lines | 11 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
19 | public function setSender(array $sender): self |
||
20 | { |
||
21 | if (isset($sender['Sender'])) { |
||
22 | $this->Sender = $sender['Sender'] ?? null; |
||
23 | $this->CitySender = $sender['CitySender'] ?? null; |
||
24 | $this->SenderAddress = $sender['SenderAddress'] ?? null; |
||
25 | $this->ContactSender = $sender['ContactSender'] ?? null; |
||
26 | $this->SendersPhone = $sender['SendersPhone'] ?? null; |
||
27 | } |
||
28 | |||
29 | return $this; |
||
30 | } |
||
44 |