Code Duplication    Length = 10-10 lines in 2 locations

src/Staff/Staff.php 2 locations

@@ 68-77 (lines=10) @@
65
     *
66
     * @return bool
67
     */
68
    public function create($email, $nickname, $password)
69
    {
70
        $params = [
71
                   'kf_account' => $email,
72
                   'nickname' => $nickname,
73
                   'password' => $password,
74
                  ];
75
76
        return $this->parseJSON('json', [self::API_CREATE, $params]);
77
    }
78
79
    /**
80
     * Update a staff.
@@ 88-97 (lines=10) @@
85
     *
86
     * @return bool
87
     */
88
    public function update($email, $nickname, $password)
89
    {
90
        $params = [
91
                   'kf_account' => $email,
92
                   'nickname' => $nickname,
93
                   'password' => $password,
94
                  ];
95
96
        return $this->parseJSON('json', [self::API_UPDATE, $params]);
97
    }
98
99
    /**
100
     * Delete a staff.