UserBetting::getSecondTeamResult()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
eloc 1
nc 1
nop 0
1
<?php
2
3
4
namespace App\GameBetting\Persistence\DataProvider;
5
6
7
class UserBetting
8
{
9
10
    /**
11
     * @var int
12
     */
13
    private $firstTeamResult;
14
15
    /**
16
     * @var int
17
     */
18
    private $secondTeamResult;
19
20
    /**
21
     * @return int
22
     */
23
    public function getFirstTeamResult(): ?int
24
    {
25
        return $this->firstTeamResult;
26
    }
27
28
    /**
29
     * @param int $firstTeamResult
30
     */
31
    public function setFirstTeamResult(?int $firstTeamResult): void
32
    {
33
        $this->firstTeamResult = $firstTeamResult;
34
    }
35
36
    /**
37
     * @return int
38
     */
39
    public function getSecondTeamResult(): ?int
40
    {
41
        return $this->secondTeamResult;
42
    }
43
44
    /**
45
     * @param int $secondTeamResult
46
     */
47
    public function setSecondTeamResult(?int $secondTeamResult): void
48
    {
49
        $this->secondTeamResult = $secondTeamResult;
50
    }
51
52
53
}