Total Complexity | 5 |
Total Lines | 43 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | class Acta |
||
17 | { |
||
18 | use Fillable; |
||
19 | |||
20 | /** |
||
21 | * Дата акта |
||
22 | * |
||
23 | * @JMS\XmlAttribute() |
||
24 | * @JMS\Type("string") |
||
25 | */ |
||
26 | private ?string $date = null; |
||
27 | |||
28 | /** |
||
29 | * Название акта |
||
30 | * |
||
31 | * @JMS\XmlValue |
||
32 | * @JMS\Type("string") |
||
33 | */ |
||
34 | private ?string $name = null; |
||
35 | |||
36 | /** |
||
37 | * @return string|null |
||
38 | */ |
||
39 | 2 | public function getDate(): ?string |
|
40 | { |
||
41 | 2 | return $this->date; |
|
42 | } |
||
43 | |||
44 | /** |
||
45 | * @return string|null |
||
46 | */ |
||
47 | 2 | public function getName(): ?string |
|
48 | { |
||
49 | 2 | return $this->name; |
|
50 | } |
||
51 | |||
52 | /** |
||
53 | * @JMS\PostDeserialize |
||
54 | */ |
||
55 | 1 | private function postDeserialize(): void |
|
59 | } |
||
60 | } |
||
61 |
This check looks for private methods that have been defined, but are not used inside the class.