BadUser::getAbout()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 1 Features 1
Metric Value
cc 1
eloc 1
c 1
b 1
f 1
nc 1
nop 0
dl 0
loc 3
rs 10
1
<?php declare(strict_types = 1);
2
3
namespace Bukashk0zzz\FilterBundle\Tests\Fixtures;
4
5
use Bukashk0zzz\FilterBundle\Annotation\FilterAnnotation as Filter;
6
7
/**
8
 * BadUser Entity.
9
 */
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
37
    {
38
        return $this->about;
39
    }
40
41
    public function setAbout(string $about): self
42
    {
43
        $this->about = $about;
44
45
        return $this;
46
    }
47
}
48