Total Complexity | 5 |
Total Lines | 85 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
16 | class Sender |
||
17 | { |
||
18 | use Fillable; |
||
19 | |||
20 | /** |
||
21 | * Контактное лицо отправителя |
||
22 | * @see Receiver::$person |
||
23 | * |
||
24 | * @JMS\Type("string") |
||
25 | * @JMS\SerializedName("company") |
||
26 | */ |
||
27 | private ?string $company = null; |
||
28 | |||
29 | /** |
||
30 | * Город отправителя |
||
31 | * |
||
32 | * @JMS\Type("string") |
||
33 | * @JMS\SerializedName("town") |
||
34 | * |
||
35 | * @deprecated deprecated since version 1.4.0 |
||
36 | */ |
||
37 | private ?string $town = null; |
||
38 | |||
39 | /** |
||
40 | * Адрес отправителя |
||
41 | * |
||
42 | * @JMS\Type("string") |
||
43 | * @JMS\SerializedName("address") |
||
44 | */ |
||
45 | private ?string $address = null; |
||
46 | |||
47 | /** |
||
48 | * Контактное лицо отправителя |
||
49 | * |
||
50 | * @JMS\Type("string") |
||
51 | * @JMS\SerializedName("person") |
||
52 | */ |
||
53 | private ?string $person = null; |
||
54 | |||
55 | /** |
||
56 | * Телефон |
||
57 | * |
||
58 | * @JMS\Type("string") |
||
59 | * @JMS\SerializedName("phone") |
||
60 | */ |
||
61 | private ?string $phone = null; |
||
62 | |||
63 | /** |
||
64 | * @return string|null |
||
65 | */ |
||
66 | 2 | public function getCompany(): ?string |
|
67 | { |
||
68 | 2 | return $this->company; |
|
69 | } |
||
70 | |||
71 | /** |
||
72 | * @return string|null |
||
73 | */ |
||
74 | 2 | public function getTown(): ?string |
|
75 | { |
||
76 | 2 | return $this->town; |
|
|
|||
77 | } |
||
78 | |||
79 | /** |
||
80 | * @return string|null |
||
81 | */ |
||
82 | 2 | public function getAddress(): ?string |
|
83 | { |
||
84 | 2 | return $this->address; |
|
85 | } |
||
86 | |||
87 | /** |
||
88 | * @return string|null |
||
89 | */ |
||
90 | 2 | public function getPerson(): ?string |
|
91 | { |
||
92 | 2 | return $this->person; |
|
93 | } |
||
94 | |||
95 | /** |
||
96 | * @return string|null |
||
97 | */ |
||
98 | 2 | public function getPhone(): ?string |
|
101 | } |
||
102 | } |
||
103 |
This property has been deprecated. The supplier of the class has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the property will be removed from the class and what other property to use instead.