Passed
Push — master ( 52dd57...a4c9fa )
by Willy
02:14
created

ProgressionValueObject::getRaids()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

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