| Total Complexity | 4 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 1 | Features | 1 |
| 1 | <?php declare(strict_types = 1); |
||
| 10 | class BadUser |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @Filter("\stdClass") |
||
| 14 | * |
||
| 15 | * @var string |
||
| 16 | */ |
||
| 17 | protected $name; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @var string |
||
| 21 | */ |
||
| 22 | protected $about; |
||
| 23 | |||
| 24 | public function getName(): ?string |
||
| 25 | { |
||
| 26 | return $this->name; |
||
| 27 | } |
||
| 28 | |||
| 29 | public function setName(string $name): self |
||
| 30 | { |
||
| 31 | $this->name = $name; |
||
| 32 | |||
| 33 | return $this; |
||
| 34 | } |
||
| 35 | |||
| 36 | public function getAbout(): ?string |
||
| 39 | } |
||
| 40 | |||
| 41 | public function setAbout(string $about): self |
||
| 46 | } |
||
| 47 | } |
||
| 48 |