Passed
Pull Request — master (#131)
by Kevin
03:32
created

Address   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A setValue() 0 3 1
A getValue() 0 3 1
1
<?php
2
3
namespace Zenstruck\Foundry\Tests\Fixtures\Entity;
4
5
use Doctrine\ORM\Mapping as ORM;
6
7
/**
8
 * @ORM\Embeddable
9
 */
10
final class Address
11
{
12
    /**
13
     * @ORM\Column(type="string", nullable=true)
14
     */
15
    private $value;
16
17
    public function getValue()
18
    {
19
        return $this->value;
20
    }
21
22
    public function setValue($value)
23
    {
24
        $this->value = $value;
25
    }
26
}
27