QuestsValueObject::getQuests()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 0
cts 4
cp 0
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
crap 2
1
<?php
2
3
namespace Kubinashi\BattlenetApi\WorldOfWarcraft\CharacterProfileApi\Quest\Model;
4
5
/**
6
 * @author  Willy Reiche
7
 * @since   2017-07-28
8
 * @version 1.0
9
 */
10
class QuestsValueObject
11
{
12
    /**
13
     * @var int[]
14
     */
15
    private $quests;
16
17
    /**
18
     * QuestsValueObject constructor.
19
     * @param int[] $quests
20
     */
21
    public function __construct($quests)
22
    {
23
        $this->quests = $quests;
24
    }
25
26
    /**
27
     * @return int[]
28
     */
29
    public function getQuests()
30
    {
31
        return $this->quests;
32
    }
33
}
34