Completed
Push — master ( 2f35f3...5b14ac )
by Rafal
10:52 queued 06:57
created

ExtraResult::getCountryId()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
3
4
namespace App\GameBetting\Persistence\DataProvider;
5
6
class ExtraResult
7
{
8
    /**
9
     * @var int
10
     */
11
    private $type;
12
13
    /**
14
     * @var int
15
     */
16
    private $countryId;
17
18
    /**
19
     * @param int $type
20
     * @param int $countryId
21
     */
22
    public function __construct(int $type, int $countryId)
23
    {
24
        $this->type = $type;
25
        $this->countryId = $countryId;
26
    }
27
28
    /**
29
     * @return int
30
     */
31
    public function getType(): int
32
    {
33
        return $this->type;
34
    }
35
36
    /**
37
     * @return int
38
     */
39
    public function getCountryId(): int
40
    {
41
        return $this->countryId;
42
    }
43
}