Code Duplication    Length = 55-55 lines in 2 locations

src/Yandex/Metrica/Stat/Models/ComparisonMetrics.php 1 location

@@ 7-61 (lines=55) @@
4
5
use Yandex\Common\Model;
6
7
class ComparisonMetrics extends Model
8
{
9
10
    protected $a = null;
11
12
    protected $b = null;
13
14
    protected $mappingClasses = [];
15
16
    protected $propNameMap = [];
17
18
    /**
19
     * Retrieve the a property
20
     *
21
     * @return array|null
22
     */
23
    public function getA()
24
    {
25
        return $this->a;
26
    }
27
28
    /**
29
     * Set the a property
30
     *
31
     * @param array $a
32
     * @return $this
33
     */
34
    public function setA($a)
35
    {
36
        $this->a = $a;
37
        return $this;
38
    }
39
40
    /**
41
     * Retrieve the b property
42
     *
43
     * @return array|null
44
     */
45
    public function getB()
46
    {
47
        return $this->b;
48
    }
49
50
    /**
51
     * Set the b property
52
     *
53
     * @param array $b
54
     * @return $this
55
     */
56
    public function setB($b)
57
    {
58
        $this->b = $b;
59
        return $this;
60
    }
61
}
62

src/Yandex/Metrica/Stat/Models/ComparisonTotals.php 1 location

@@ 7-61 (lines=55) @@
4
5
use Yandex\Common\Model;
6
7
class ComparisonTotals extends Model
8
{
9
10
    protected $a = null;
11
12
    protected $b = null;
13
14
    protected $mappingClasses = [];
15
16
    protected $propNameMap = [];
17
18
    /**
19
     * Retrieve the a property
20
     *
21
     * @return array|null
22
     */
23
    public function getA()
24
    {
25
        return $this->a;
26
    }
27
28
    /**
29
     * Set the a property
30
     *
31
     * @param array $a
32
     * @return $this
33
     */
34
    public function setA($a)
35
    {
36
        $this->a = $a;
37
        return $this;
38
    }
39
40
    /**
41
     * Retrieve the b property
42
     *
43
     * @return array|null
44
     */
45
    public function getB()
46
    {
47
        return $this->b;
48
    }
49
50
    /**
51
     * Set the b property
52
     *
53
     * @param array $b
54
     * @return $this
55
     */
56
    public function setB($b)
57
    {
58
        $this->b = $b;
59
        return $this;
60
    }
61
}
62