ExistingUser   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 49
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A addresses() 0 4 1
1
<?php
2
3
/*
4
 * This file has been created by developers from BitBag.
5
 * Feel free to contact us once you face any issues or want to start
6
 * another great project.
7
 * You can find more information about us on https://bitbag.io and write us
8
 * an email on [email protected].
9
 */
10
11
declare(strict_types=1);
12
13
namespace BitBag\SyliusVueStorefrontPlugin\Model\Request\User;
14
15
class ExistingUser
16
{
17
    /** @var int */
18
    public $id;
19
20
    /** @var int */
21
    public $group_id;
22
23
    /** @var string|null */
24
    public $default_billing;
25
26
    /** @var string|null */
27
    public $default_shipping;
28
29
    /** @var \DateTime */
30
    public $created_at;
31
32
    /** @var \DateTime */
33
    public $updated_at;
34
35
    /** @var string */
36
    public $created_in;
37
38
    /** @var string */
39
    public $email;
40
41
    /** @var string */
42
    public $firstname;
43
44
    /** @var string */
45
    public $lastname;
46
47
    /** @var int */
48
    public $store_id;
49
50
    /** @var int */
51
    public $website_id;
52
53
    /** @var UserAddress[] */
54
    public $addresses;
55
56
    /** @var int */
57
    public $disable_auto_group_change;
58
59
    public function addresses(): array
60
    {
61
        return $this->addresses;
62
    }
63
}
64