Code Duplication    Length = 10-10 lines in 2 locations

src/eXpansion/Bundle/LocalRecords/Model/Base/Record.php 1 location

@@ 234-243 (lines=10) @@
231
     * @param  string $col If supplied, only the specified column is reset.
232
     * @return void
233
     */
234
    public function resetModified($col = null)
235
    {
236
        if (null !== $col) {
237
            if (isset($this->modifiedColumns[$col])) {
238
                unset($this->modifiedColumns[$col]);
239
            }
240
        } else {
241
            $this->modifiedColumns = array();
242
        }
243
    }
244
245
    /**
246
     * Compares this with another <code>Record</code> instance.  If

src/eXpansion/Framework/PlayersBundle/Model/Base/Player.php 1 location

@@ 230-239 (lines=10) @@
227
     * @param  string $col If supplied, only the specified column is reset.
228
     * @return void
229
     */
230
    public function resetModified($col = null)
231
    {
232
        if (null !== $col) {
233
            if (isset($this->modifiedColumns[$col])) {
234
                unset($this->modifiedColumns[$col]);
235
            }
236
        } else {
237
            $this->modifiedColumns = array();
238
        }
239
    }
240
241
    /**
242
     * Compares this with another <code>Player</code> instance.  If