Code Duplication    Length = 6-6 lines in 2 locations

src/WalletV2.php 1 location

@@ 120-125 (lines=6) @@
117
     *
118
     * @return void
119
     */
120
    public function lock() {
121
        $this->primaryPrivateKey = null;
122
        $this->secret = null;
123
        $this->primarySeed = null;
124
        $this->locked = true;
125
    }
126
127
    /**
128
     * change password that is used to store data encrypted on server

src/WalletV3.php 1 location

@@ 131-136 (lines=6) @@
128
     *
129
     * @return void
130
     */
131
    public function lock() {
132
        $this->primaryPrivateKey = null;
133
        $this->secret = null;
134
        $this->primarySeed = null;
135
        $this->locked = true;
136
    }
137
138
    /**
139
     * change password that is used to store data encrypted on server