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

RemoveAddress   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 22
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 22
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
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
}