Failed Conditions
Pull Request — master (#229)
by
unknown
02:57
created

RemoveAddress::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 5
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 2
1
<?php
2
3
namespace Sylius\ShopApiPlugin\Command;
4
5
use Sylius\Component\Core\Model\ShopUserInterface;
6
7
class RemoveAddress
8
{
9
    /**
10
     * @var mixed
11
     */
12
    public $id;
13
14
    /**
15
     * @var ShopUserInterface
16
     */
17
    public $user;
18
19
    /**
20
     * @param $id
21
     * @param ShopUserInterface $user
22
     */
23
    public function __construct($id, ShopUserInterface $user)
24
    {
25
        $this->id = $id;
26
        $this->user = $user;
27
    }
28
}