Code Duplication    Length = 7-8 lines in 2 locations

Command/UpdateUser.php 1 location

@@ 42-49 (lines=8) @@
39
     * @param $password
40
     * @param $displayName
41
     */
42
    public function __construct(UserInterface $user, $username, $password, $displayName, $email)
43
    {
44
        $this->user = $user;
45
        $this->username = $username;
46
        $this->password = $password;
47
        $this->displayName = $displayName;
48
        $this->email = $email;
49
    }
50
51
    /**
52
     * Get the User.

Command/CreateUser.php 1 location

@@ 35-41 (lines=7) @@
32
     * @param $displayName
33
     * @param $email
34
     */
35
    public function __construct($username, $password, $displayName, $email)
36
    {
37
        $this->username = $username;
38
        $this->password = $password;
39
        $this->displayName = $displayName;
40
        $this->email = $email;
41
    }
42
43
    /**
44
     * Get the username.