Code Duplication    Length = 10-10 lines in 2 locations

app/Models/Task/Base/Task.php 1 location

@@ 174-183 (lines=10) @@
171
     * @param  string $col If supplied, only the specified column is reset.
172
     * @return void
173
     */
174
    public function resetModified($col = null)
175
    {
176
        if (null !== $col) {
177
            if (isset($this->modifiedColumns[$col])) {
178
                unset($this->modifiedColumns[$col]);
179
            }
180
        } else {
181
            $this->modifiedColumns = array();
182
        }
183
    }
184
185
    /**
186
     * Compares this with another <code>Task</code> instance.  If

app/Models/User/Base/User.php 1 location

@@ 198-207 (lines=10) @@
195
     * @param  string $col If supplied, only the specified column is reset.
196
     * @return void
197
     */
198
    public function resetModified($col = null)
199
    {
200
        if (null !== $col) {
201
            if (isset($this->modifiedColumns[$col])) {
202
                unset($this->modifiedColumns[$col]);
203
            }
204
        } else {
205
            $this->modifiedColumns = array();
206
        }
207
    }
208
209
    /**
210
     * Compares this with another <code>User</code> instance.  If