BadUser   A
last analyzed

Complexity

Total Complexity 4

Size/Duplication

Total Lines 36
Duplicated Lines 0 %

Importance

Changes 1
Bugs 1 Features 1
Metric Value
eloc 9
c 1
b 1
f 1
dl 0
loc 36
rs 10
wmc 4

4 Methods

Rating   Name   Duplication   Size   Complexity  
A getAbout() 0 3 1
A setAbout() 0 5 1
A getName() 0 3 1
A setName() 0 5 1
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