Level::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 7
rs 9.4285
cc 1
eloc 5
nc 1
nop 4
1
<?php
2
3
namespace IVCalculator\Entities;
4
5
class Level
6
{
7
    /**
8
     * @var int
9
     */
10
    public $level;
11
12
    /**
13
     * @var int
14
     */
15
    public $dust;
16
17
    /**
18
     * @var int
19
     */
20
    public $candy;
21
22
    /**
23
     * @var float
24
     */
25
    public $cpScalar;
26
27
    public function __construct($level, $dust, $candy, $cpScalar)
28
    {
29
        $this->level = $level;
30
        $this->dust = $dust;
31
        $this->candy = $candy;
32
        $this->cpScalar = $cpScalar;
33
    }
34
}
35