Failed Conditions
Pull Request — master (#229)
by
unknown
02:41
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
declare(strict_types=1);
4
5
namespace Sylius\ShopApiPlugin\Command;
6
7
use Sylius\Component\Core\Model\ShopUserInterface;
8
9
class RemoveAddress
10
{
11
    /**
12
     * @var mixed
13
     */
14
    public $id;
15
16
    /**
17
     * @var ShopUserInterface
18
     */
19
    public $user;
20
21
    /**
22
     * @param $id
23
     * @param ShopUserInterface $user
24
     */
25
    public function __construct($id, ShopUserInterface $user)
26
    {
27
        $this->id = $id;
28
        $this->user = $user;
29
    }
30
}
31