Failed Conditions
Push — master ( f11c87...92f16b )
by Łukasz
02:49 queued 02:41
created

AdjustmentView::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace Sylius\ShopApiPlugin\View;
4
5
class AdjustmentView
6
{
7
    /** @var string */
8
    public $name;
9
10
    /** @var PriceView */
11
    public $amount;
12
13
    public function __construct()
14
    {
15
        $this->amount = new PriceView();
16
    }
17
}
18