Completed
Pull Request — master (#21)
by Rafal
07:07
created

ExtraResult   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 36
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 7
dl 0
loc 36
rs 10
c 0
b 0
f 0
wmc 3

3 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A getCountryId() 0 3 1
A getType() 0 3 1
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
}