Code Duplication    Length = 69-70 lines in 2 locations

Tests/Fixtures/AttributeDummy.php 1 location

@@ 21-89 (lines=69) @@
18
 * @package RonteLtd\JsonApiBundle\Tests\Fixtures
19
 * @author Ruslan Muriev <[email protected]>
20
 */
21
class AttributeDummy
22
{
23
    /**
24
     * @Attribute(name="a")
25
     *
26
     * @var
27
     */
28
    private $foo;
29
30
    /**
31
     * @Attribute
32
     *
33
     * @var
34
     */
35
    private $bar;
36
37
    /**
38
     * @var
39
     */
40
    private $fooBar;
41
42
    /**
43
     * @return mixed
44
     */
45
    public function getFoo()
46
    {
47
        return $this->foo;
48
    }
49
50
    /**
51
     * @param mixed $foo
52
     */
53
    public function setFoo($foo)
54
    {
55
        $this->foo = $foo;
56
    }
57
58
    /**
59
     * @return mixed
60
     */
61
    public function getBar()
62
    {
63
        return $this->bar;
64
    }
65
66
    /**
67
     * @param mixed $bar
68
     */
69
    public function setBar($bar)
70
    {
71
        $this->bar = $bar;
72
    }
73
74
    /**
75
     * @return mixed
76
     */
77
    public function getFooBar()
78
    {
79
        return $this->fooBar;
80
    }
81
82
    /**
83
     * @param mixed $fooBar
84
     */
85
    public function setFooBar($fooBar)
86
    {
87
        $this->fooBar = $fooBar;
88
    }
89
}

Tests/Fixtures/RelationshipDummy.php 1 location

@@ 21-90 (lines=70) @@
18
 * @package RonteLtd\JsonApiBundle\Tests\Fixtures
19
 * @author Ruslan Muriev <[email protected]>
20
 */
21
class RelationshipDummy
22
{
23
    /**
24
     * @Relationship(name="a")
25
     *
26
     * @var
27
     */
28
    private $foo;
29
30
    /**
31
     * @Relationship
32
     *
33
     * @var
34
     */
35
    private $bar;
36
37
    /**
38
     * @var
39
     */
40
    private $fooBar;
41
42
43
    /**
44
     * @return mixed
45
     */
46
    public function getFoo()
47
    {
48
        return $this->foo;
49
    }
50
51
    /**
52
     * @param mixed $foo
53
     */
54
    public function setFoo($foo)
55
    {
56
        $this->foo = $foo;
57
    }
58
59
    /**
60
     * @return mixed
61
     */
62
    public function getBar()
63
    {
64
        return $this->bar;
65
    }
66
67
    /**
68
     * @param mixed $bar
69
     */
70
    public function setBar($bar)
71
    {
72
        $this->bar = $bar;
73
    }
74
75
    /**
76
     * @return mixed
77
     */
78
    public function getFooBar()
79
    {
80
        return $this->fooBar;
81
    }
82
83
    /**
84
     * @param mixed $fooBar
85
     */
86
    public function setFooBar($fooBar)
87
    {
88
        $this->fooBar = $fooBar;
89
    }
90
}